CRM_Mailing_Info - Don't output unused variable
authorTim Otten <totten@civicrm.org>
Wed, 15 Apr 2015 00:52:13 +0000 (17:52 -0700)
committerTim Otten <totten@civicrm.org>
Thu, 16 Apr 2015 23:17:03 +0000 (16:17 -0700)
CRM/Mailing/Info.php

index 421e72bf12be2b91de55827e53700735ac252bca..1905d16ed0dc47b8fc8cee0b4d5fa547d8c5740d 100644 (file)
@@ -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(),