projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
APIv4 - Add Address::getCoordinates action
[civicrm-core.git]
/
CRM
/
Utils
/
Token.php
diff --git
a/CRM/Utils/Token.php
b/CRM/Utils/Token.php
index 23910f3634da397480858bc36801dbe112fe70a0..5347d07b0ed6089ffe94abd7b1ec2011fc7a3389 100644
(file)
--- a/
CRM/Utils/Token.php
+++ b/
CRM/Utils/Token.php
@@
-1178,6
+1178,7
@@
class CRM_Utils_Token {
$className = NULL,
$jobID = NULL
) {
$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[] = [
$params = [];
foreach ($contactIDs as $contactID) {
$params[] = [
@@
-1960,6
+1961,10
@@
class CRM_Utils_Token {
'$last_name' => 'contact.last_name',
'$displayName' => 'contact.display_name',
],
'$last_name' => 'contact.last_name',
'$displayName' => 'contact.display_name',
],
+ 'membership_offline_receipt' => [
+ // receipt_text_renewal appears to be long gone.
+ 'receipt_text_renewal' => 'receipt_text',
+ ],
'pledge_acknowledgement' => [
'$domain' => 'no longer available / relevant',
'$contact' => 'no longer available / relevant',
'pledge_acknowledgement' => [
'$domain' => 'no longer available / relevant',
'$contact' => 'no longer available / relevant',