CRM-14399 4.5 signature for hook (somehow got reverted when I prepared the PR I guess)