X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHook.php;h=0ad0debd39cd6052042c6e767ad0a2bb4bdae8f2;hb=d998c6152ede6a080f8e93560c7cfc94d718df7e;hp=3f36511e47362ccb9faf96db7ccf77bc39daf2bb;hpb=00b6a86445c6d510566b2703245d21eee8125256;p=civicrm-core.git diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 3f36511e47..0ad0debd39 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2009,7 +2009,7 @@ abstract class CRM_Utils_Hook { // are expected to be called externally. // It's really really unlikely anyone uses this - but let's add deprecations for a couple // of releases first. - Civi::log()->warning('Deprecated function CRM_Utils_Hook::alterMail, use CRM_Utils_Hook::alterMailer', array('civi.tag' => 'deprecated')); + CRM_Core_Error::deprecatedFunctionWarning('CRM_Utils_Hook::alterMailer'); return CRM_Utils_Hook::alterMailer($mailer, $driver, $params); }