From: Tim Otten Date: Wed, 15 Apr 2015 00:52:13 +0000 (-0700) Subject: CRM_Mailing_Info - Don't output unused variable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=40344802bc179085fefde0b08f2452764b9e3574;p=civicrm-core.git CRM_Mailing_Info - Don't output unused variable --- 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(),