Remove some unused variables
authoreileen <emcnaughton@wikimedia.org>
Thu, 10 Dec 2020 08:17:09 +0000 (21:17 +1300)
committereileen <emcnaughton@wikimedia.org>
Thu, 10 Dec 2020 08:17:09 +0000 (21:17 +1300)
CRM/Mailing/Event/BAO/Forward.php

index 78b1f0b5ebf83eb7c234d96f2c45d9daf0e52e32..b3621241b6cf43fbb0f452ea65aa340c88ec8e3e 100644 (file)
@@ -47,14 +47,9 @@ class CRM_Mailing_Event_BAO_Forward extends CRM_Mailing_Event_DAO_Forward {
     // Find the email address/contact, if it exists.
 
     $contact = CRM_Contact_BAO_Contact::getTableName();
-    $location = CRM_Core_BAO_Location::getTableName();
     $email = CRM_Core_BAO_Email::getTableName();
     $queueTable = CRM_Mailing_Event_BAO_Queue::getTableName();
     $job = CRM_Mailing_BAO_MailingJob::getTableName();
-    $mailing = CRM_Mailing_BAO_Mailing::getTableName();
-    $forward = self::getTableName();
-
-    $domain = CRM_Core_BAO_Domain::getDomain();
 
     $dao = new CRM_Core_DAO();
     $dao->query("