From 4337c3e5802a8eb842ecd49c165bb5bcc12e481c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 6 Feb 2023 20:52:00 +1300 Subject: [PATCH] Add noisy deprecation to ReplaceHookTokens This was code-comment deprecated around 15 months ago and some extensions have updated to stop calling it so it seems OK to make the deprecation a bit noisier now since the TokenProcessor has been settled & stable for some time now --- CRM/Utils/Token.php | 1 + 1 file changed, 1 insertion(+) diff --git a/CRM/Utils/Token.php b/CRM/Utils/Token.php index ac9ae2de9d..c8fb8e5c24 100644 --- a/CRM/Utils/Token.php +++ b/CRM/Utils/Token.php @@ -683,6 +683,7 @@ class CRM_Utils_Token { $html = FALSE, $escapeSmarty = FALSE ) { + CRM_Core_Error::deprecatedFunctionWarning('token processor'); if (!$categories) { $categories = self::getTokenCategories(); } -- 2.25.1