Stop setting unused property & creating notices
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jul 2023 01:33:27 +0000 (13:33 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 13 Jul 2023 01:33:27 +0000 (13:33 +1200)
CRM/Contribute/Form/ContributionBase.php

index 39afb969c476f626f45d0874cf7cb62c634ab3fa..91bcf9257b71a8459bde01b8b36e20218c5ec3ef 100644 (file)
@@ -289,8 +289,6 @@ class CRM_Contribute_Form_ContributionBase extends CRM_Core_Form {
     $this->_contactID = $this->_membershipContactID = $this->getContactID();
     $this->getRenewalMembershipID();
 
-    // @todo - this mid needs to go - just making sure references are updated first.
-    $this->_mid = $this->getRenewalMembershipID();
     if ($this->getRenewalMembershipID()) {
       $membership = new CRM_Member_DAO_Membership();
       $membership->id = $this->getRenewalMembershipID();