Skip to content

Commit

Permalink
Merge pull request #25077 from eileenmcnaughton/token_deprecation
Browse files Browse the repository at this point in the history
Add noisy deprecation to `getContactTokenReplacement`
  • Loading branch information
yashodha authored Dec 1, 2022
2 parents 4f2e148 + 39a543a commit a3de877
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 a3de877

Please sign in to comment.