CRM_Utils_Hook::alterMailer -- Fix typo
authorCiviCRM <info@civicrm.org>
Sat, 26 Dec 2015 18:33:09 +0000 (12:33 -0600)
committerCiviCRM <info@civicrm.org>
Sat, 26 Dec 2015 18:37:45 +0000 (12:37 -0600)
commitf2b63bd30e44ba900c23a745e318b04ce0ba9b44
tree823175206dc355c5b2233c100de22c411250ea86
parentb1581e68405a32f243917150dfbc6641c5aa2b95
CRM_Utils_Hook::alterMailer -- Fix typo

There was a discrepancy in the naming of this hook:

 * The stub function was named `alterMail`. Internal code therefore referred to `alterMail`.
 * The hook invocation fires as `alterMailer`. Downstream code therefore referred to `alterMailer`.

This patch standardizes on `alterMailer` to preserve the downstream
interface.  It leaves `::alterMail()` as a deprecated alias in case there's
some unexpected external use-case.
CRM/Utils/Hook.php
CRM/Utils/Mail.php