From 672b72ea260eb17c37f4cb5fb5a2045c8953ee98 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 7 Apr 2022 10:47:54 +1200 Subject: [PATCH] Fix function calls to be non-static --- CRM/Contribute/Import/Parser/Contribution.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index a8a98ef50d..33b71a0cb4 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -329,7 +329,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa } // process pledge payment assoc w/ the contribution - return self::processPledgePayments($formatted); + return $this->processPledgePayments($formatted); } $labels = [ 'id' => 'Contribution ID', @@ -383,7 +383,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa } // process pledge payment assoc w/ the contribution - return self::processPledgePayments($formatted); + return $this->processPledgePayments($formatted); } // Using new Dedupe rule. @@ -450,7 +450,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa } // process pledge payment assoc w/ the contribution - return self::processPledgePayments($formatted); + return $this->processPledgePayments($formatted); } /** @@ -460,7 +460,7 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * * @return int */ - public function processPledgePayments(array $formatted) { + private function processPledgePayments(array $formatted) { if (!empty($formatted['pledge_payment_id']) && !empty($formatted['pledge_id'])) { //get completed status $completeStatusID = CRM_Core_PseudoConstant::getKey('CRM_Contribute_BAO_Contribution', 'contribution_status_id', 'Completed'); -- 2.25.1