Add noisy deprecation to getContactTokenReplacement
authorEileen McNaughton <emcnaughton@wikimedia.org>
Tue, 29 Nov 2022 04:56:07 +0000 (17:56 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 30 Nov 2022 00:50:10 +0000 (13:50 +1300)
CRM/Utils/Token.php

index 552ea0a87726ebe20942dbaf1b164a090b56a600..ac9ae2de9d167ed4cd417f512288f2160c607232 100644 (file)
@@ -586,6 +586,7 @@ class CRM_Utils_Token {
     $returnBlankToken = FALSE,
     $escapeSmarty = FALSE
   ) {
+    CRM_Core_Error::deprecatedFunctionWarning('token processor');
     if (self::$_tokens['contact'] == NULL) {
       /* This should come from UF */