From 29234d1e7782dbdf4fcb2e42da77fee73c223a21 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 24 Feb 2023 15:39:59 +1300 Subject: [PATCH] Add noisy deprecation to deprecated function, after universe search --- CRM/Utils/Token.php | 1 + 1 file changed, 1 insertion(+) 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 -- 2.25.1