From e56dfd7e3dea5768abf46b43968bef518d57c861 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 6 Feb 2023 20:14:34 +1300 Subject: [PATCH] Remove unused variable --- CRM/Pledge/BAO/Pledge.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Pledge/BAO/Pledge.php b/CRM/Pledge/BAO/Pledge.php index 20cc015430..546a9aa290 100644 --- a/CRM/Pledge/BAO/Pledge.php +++ b/CRM/Pledge/BAO/Pledge.php @@ -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, -- 2.25.1