Remove unused variable
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 6 Feb 2023 07:14:34 +0000 (20:14 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 6 Feb 2023 07:14:34 +0000 (20:14 +1300)
CRM/Pledge/BAO/Pledge.php

index 20cc0154300d0807565eaea39d1978ead9c9cb8e..546a9aa29088ffc84bd5e6e7fce615a6e341ce98 100644 (file)
@@ -870,14 +870,8 @@ SELECT  pledge.contact_id              as contact_id,
     }
 
     if ($sendReminders) {
-      // retrieve domain tokens
-      $tokens = [
-        'domain' => ['name', 'phone', 'address', 'email'],
-        'contact' => CRM_Core_SelectValues::contactTokens(),
-      ];
 
       // retrieve contact tokens
-
       // this function does NOT return Deceased contacts since we don't want to send them email
       $contactDetails = civicrm_api3('Contact', 'get', [
         'is_deceased' => 0,