From: Eileen McNaughton Date: Thu, 13 Jul 2023 01:33:27 +0000 (+1200) Subject: Stop setting unused property & creating notices X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=b4e2f3d2600c69a4f906d37c1886b4fca6ec78aa;p=civicrm-core.git Stop setting unused property & creating notices --- diff --git a/CRM/Contribute/Form/ContributionBase.php b/CRM/Contribute/Form/ContributionBase.php index 39afb969c4..91bcf9257b 100644 --- a/CRM/Contribute/Form/ContributionBase.php +++ b/CRM/Contribute/Form/ContributionBase.php @@ -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();