From daff3687e37206a477f57f03dad202ffaf76cd88 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 6 Apr 2022 16:25:13 +1200 Subject: [PATCH] Cleanup unnecessary variables --- CRM/Contribute/Import/Parser/Contribution.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index 3845ce2e5b..2e334086d1 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -154,11 +154,9 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Contribute_Import_Pa * the result of this processing */ public function summary(&$values) { - $erroneousField = NULL; - $response = $this->setActiveFieldValues($values, $erroneousField); + $this->setActiveFieldValues($values); - $params = &$this->getActiveFieldParams(); - $errorMessage = NULL; + $params = $this->getActiveFieldParams(); //for date-Formats $errorMessage = implode('; ', $this->formatDateFields($params)); -- 2.25.1