Skip to content
Snippets Groups Projects
Unverified Commit d5a0c3cd authored by Eileen McNaughton's avatar Eileen McNaughton Committed by GitHub
Browse files

Merge pull request #19782 from eileenmcnaughton/token

Remove addressee, email_greeting_id, postal_greeting_id from exposed tokens
parents dfaeeac7 94cb957c
No related branches found
No related tags found
No related merge requests found
......@@ -619,6 +619,9 @@ class CRM_Core_SelectValues {
'legal_identifier',
'contact_sub_type',
'user_unique_id',
'addressee_id',
'email_greeting_id',
'postal_greeting_id',
];
$customFields = CRM_Core_BAO_CustomField::getFields(['Individual', 'Address']);
......
......@@ -192,9 +192,6 @@ individual_prefix:Mr.
individual_suffix:II
formal_title:Dogsbody
communication_style:Formal
email_greeting_id:Dear {contact.first_name}
postal_greeting_id:Dear {contact.first_name}
addressee_id:{contact.individual_prefix}{ } {contact.first_name}{ }{contact.middle_name}{ }{contact.last_name}{ }{contact.individual_suffix}
job_title:Busy person
gender:Female
birth_date:December 31st, 1998
......@@ -317,9 +314,6 @@ contact_id:' . $tokenData['contact_id'] . '
'individual_suffix' => 'II',
'formal_title' => 'Dogsbody',
'communication_style' => 'Formal',
'email_greeting_id' => 1,
'postal_greeting_id' => 1,
'addressee_id' => 1,
'job_title' => 'Busy person',
'gender' => 'Female',
'birth_date' => '1998-12-31',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment