Stop passing variable no longer in signature
authorEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 9 Oct 2023 21:30:34 +0000 (10:30 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 9 Oct 2023 21:30:34 +0000 (10:30 +1300)
CRM/Contribute/Form/Contribution.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Event/Form/Participant.php
CRM/Event/Form/Registration/Confirm.php

index 8ea0d4fe325d6dfb97b7326e6f5fd5edf15f9d81..50f54285ca5417d8ff0714a24fe749df21148d86 100644 (file)
@@ -1335,7 +1335,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
     // add these values for the recurringContrib function ,CRM-10188
     $params['financial_type_id'] = $financialType->id;
 
-    $contributionParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params, $billingLocationID);
+    $contributionParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params);
 
     //@todo - this is being set from the form to resolve CRM-10188 - an
     // eNotice caused by it not being set @ the front end
index 0da5a223ce209b60d7bf937941c44c165e5e2b05..3888192b622c791aefd0ec33c87a9641bc6b928d 100644 (file)
@@ -1047,7 +1047,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
     // add these values for the recurringContrib function ,CRM-10188
     $params['financial_type_id'] = $financialType->id;
 
-    $contributionParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params, $billingLocationID);
+    $contributionParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params);
 
     //@todo - this is being set from the form to resolve CRM-10188 - an
     // eNotice caused by it not being set @ the front end
index e643167cd2f2c48d3538454a178310adece88aa5..1121f6db7c8978c73c625910865c3c9eab28bd39 100644 (file)
@@ -1693,7 +1693,7 @@ class CRM_Event_Form_Participant extends CRM_Contribute_Form_AbstractEditPayment
     }
     $contribParams['revenue_recognition_date'] = $this->getRevenueRecognitionDate();
 
-    $contribParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params, $form->_bltID);
+    $contribParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params);
 
     $contribParams['skipLineItem'] = 1;
     $contribParams['skipCleanMoney'] = 1;
index d23e7002528681243c851e942abd48654745c52b..647e74c70220f2f66eaaa5a6273d9192bcbccf02 100644 (file)
@@ -1012,7 +1012,7 @@ class CRM_Event_Form_Registration_Confirm extends CRM_Event_Form_Registration {
     // The concept of contributeMode is deprecated. Elsewhere we use the function processBillingAddress() - although
     // currently that is only inherited by back-office forms.
     if ($form->_contributeMode != 'notify' && empty($params['is_pay_later'])) {
-      $contribParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params, $form->_bltID);
+      $contribParams['address_id'] = CRM_Contribute_BAO_Contribution::createAddress($params);
     }
 
     $contribParams['skipLineItem'] = 1;