CRM-16357 rename processContribution to processFormContribution to make it easier...
authorEileen McNaughton <eileen@fuzion.co.nz>
Sun, 10 May 2015 09:48:11 +0000 (21:48 +1200)
committerEileen McNaughton <eileen@fuzion.co.nz>
Sun, 10 May 2015 09:48:11 +0000 (21:48 +1200)
CRM/Contribute/BAO/Contribution/Utils.php
CRM/Contribute/Form/Contribution.php
CRM/Contribute/Form/Contribution/Confirm.php
CRM/Member/BAO/Membership.php
CRM/Member/Form/Membership.php

index 0d847985317f2beb9e9d0a97451ea141f50a4e2e..39d48b6ab4ccdc269a957e7b44653b81ec4f100b 100644 (file)
@@ -112,7 +112,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
       // when we get a callback from the payment processor
       // also add the contact ID and contribution ID to the params list
       $paymentParams['contactID'] = $form->_params['contactID'] = $contactID;
-      $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution(
+      $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
         $form,
         $paymentParams,
         NULL,
@@ -233,7 +233,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
           unset($paymentParams['is_recur']);
         }
 
-        $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution(
+        $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution(
           $form,
           $paymentParams,
           NULL,
@@ -317,7 +317,7 @@ class CRM_Contribute_BAO_Contribution_Utils {
         $pending = TRUE;
       }
       if (!(!empty($paymentParams['is_recur']) && $form->_contributeMode == 'direct')) {
-        $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($form,
+        $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($form,
           $form->_params, $result,
           $contactID, $contributionType,
           $pending, TRUE,
index ceaccc3ca2bf0db678ab378a25e79ae4f0e4c789..3ac6267c51e35d9e7cf6290e0df76848cf946a54 100644 (file)
@@ -1224,7 +1224,7 @@ class CRM_Contribute_Form_Contribution extends CRM_Contribute_Form_AbstractEditP
       $this->set('is_deductible', TRUE);
     }
 
-    $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($this,
+    $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($this,
       $this->_params,
       NULL,
       $contactID,
index 8f548a05b84ed152ba011b3314b780f7ea9e2237..fb0593b172eb3177c3c07d94aa5d466fc69d0eeb 100644 (file)
@@ -1278,7 +1278,7 @@ class CRM_Contribute_Form_Contribution_Confirm extends CRM_Contribute_Form_Contr
    * @return \CRM_Contribute_DAO_Contribution
    * @throws \Exception
    */
-  public static function processContribution(
+  public static function processFormContribution(
     &$form,
     $params,
     $result,
index 3a97ded924d4fc9d9413ac059f96ff7cf3e1d55e..05159eeef8ebd9467ecd1db6bf9fbda9a0ee8b45 100644 (file)
@@ -2252,7 +2252,7 @@ INNER JOIN  civicrm_contact contact ON ( contact.id = membership.contact_id AND
     //so for differentiating membership contribution from
     //main contribution.
     $form->_params['separate_membership_payment'] = 1;
-    $membershipContribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($form,
+    $membershipContribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($form,
       $tempParams,
       $result,
       $contactID,
index c82743847a7b25b96878bb08794acc570e273222..b85be85359dda7805190bc7afd4a088bea290222 100644 (file)
@@ -1368,7 +1368,7 @@ WHERE   id IN ( ' . implode(' , ', array_keys($membershipType)) . ' )';
           CRM_Core_Error::fatal('Could not find a system table');
         }
 
-        $contribution = CRM_Contribute_Form_Contribution_Confirm::processContribution($this,
+        $contribution = CRM_Contribute_Form_Contribution_Confirm::processFormContribution($this,
           $paymentParams,
           $result,
           $this->_contributorContactID,