From: Eileen McNaughton Date: Fri, 24 Feb 2023 02:39:59 +0000 (+1300) Subject: Add noisy deprecation to deprecated function, after universe search X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=29234d1e7782dbdf4fcb2e42da77fee73c223a21;p=civicrm-core.git Add noisy deprecation to deprecated function, after universe search --- diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index 3ad3618dad..f29df131b7 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -723,6 +723,7 @@ class CRM_Utils_Token { * @deprecated */ public static function parseThroughSmarty($tokenHtml, $entity, $entityType = 'contact') { + CRM_Core_Error::deprecatedFunctionWarning('no replacement'); if (defined('CIVICRM_MAIL_SMARTY') && CIVICRM_MAIL_SMARTY) { $smarty = CRM_Core_Smarty::singleton(); // also add the tokens to the template