From d045f6d7aaebec274f79f8b3b819057512deaacf Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 3 Dec 2014 12:49:33 +1300 Subject: [PATCH] remove redundant variables --- CRM/Core/BAO/ActionSchedule.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Core/BAO/ActionSchedule.php b/CRM/Core/BAO/ActionSchedule.php index 06b7ba1e2d..2022e8d34b 100644 --- a/CRM/Core/BAO/ActionSchedule.php +++ b/CRM/Core/BAO/ActionSchedule.php @@ -1235,10 +1235,6 @@ LEFT JOIN {$reminderJoinClause} CRM_Core_DAO::executeQuery($query, array(1 => array($actionSchedule->id, 'Integer'))); $isSendToAdditionalContacts = (!is_null($limitTo) && $limitTo == 0 && (!empty($addGroup) || !empty($addWhere))) ? TRUE : FALSE; if ($isSendToAdditionalContacts) { - $additionWhere = ' WHERE '; - if ($actionSchedule->start_action_date) { - $additionWhere = $whereClause . ' AND '; - } $contactTable = "civicrm_contact c"; $addSelect = "SELECT c.id as contact_id, c.id as entity_id, 'civicrm_contact' as entity_table, {$actionSchedule->id} as action_schedule_id"; $additionReminderClause = "civicrm_action_log reminder ON reminder.contact_id = c.id AND -- 2.25.1