From 40344802bc179085fefde0b08f2452764b9e3574 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Tue, 14 Apr 2015 17:52:13 -0700 Subject: [PATCH] CRM_Mailing_Info - Don't output unused variable --- CRM/Mailing/Info.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/CRM/Mailing/Info.php b/CRM/Mailing/Info.php index 421e72bf12..1905d16ed0 100644 --- a/CRM/Mailing/Info.php +++ b/CRM/Mailing/Info.php @@ -137,7 +137,6 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { 'return' => array("msg_html", "id", "msg_title", "msg_subject", "msg_text"), 'workflow_id' => array('IS NULL' => ""), )); - $mailGrp = civicrm_api3('MailingGroup', 'get', $params); $mailTokens = civicrm_api3('Mailing', 'gettokens', array( 'entity' => array('contact', 'mailing'), 'sequential' => 1, @@ -154,7 +153,6 @@ class CRM_Mailing_Info extends CRM_Core_Component_Info { 'headerfooterList' => $headerfooterList['values'], 'mesTemplate' => $mesTemplate['values'], 'emailAdd' => $emailAdd['values'], - 'mailGrp' => $mailGrp['values'], 'mailTokens' => $mailTokens['values'], 'contactid' => $contactID, 'requiredTokens' => CRM_Utils_Token::getRequiredTokens(), -- 2.25.1