APIv4 - Add Address::getCoordinates action
[civicrm-core.git] / CRM / Utils / Token.php
index aa882def57d587d5134f2bd1b15bded10190fff7..5347d07b0ed6089ffe94abd7b1ec2011fc7a3389 100644 (file)
@@ -1178,6 +1178,7 @@ class CRM_Utils_Token {
     $className = NULL,
     $jobID = NULL
   ) {
+    CRM_Core_Error::deprecatedFunctionWarning('If you hit this in mailing code you should use flexmailer - otherwise use the token processor');
     $params = [];
     foreach ($contactIDs as $contactID) {
       $params[] = [