Skip to content

Commit

Permalink
Add noisy deprecation to getContactTokenReplacement
Browse files Browse the repository at this point in the history
  • Loading branch information
eileenmcnaughton committed Nov 29, 2022
1 parent 3568678 commit 1a1242e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CRM/Utils/Token.php
Original file line number Diff line number Diff line change
Expand Up @@ -586,6 +586,7 @@ public static function getContactTokenReplacement(
$returnBlankToken = FALSE,
$escapeSmarty = FALSE
) {
CRM_Core_Error::deprecatedFunctionWarning('token processor');
if (self::$_tokens['contact'] == NULL) {
/* This should come from UF */

Expand Down

0 comments on commit 1a1242e

Please sign in to comment.