From 600e138698c9a33c9905b6bf3f9d7d2705e305d6 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Wed, 8 Jun 2022 08:24:13 +1200 Subject: [PATCH] Remove call to 'summary' --- CRM/Contribute/Import/Parser/Contribution.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CRM/Contribute/Import/Parser/Contribution.php b/CRM/Contribute/Import/Parser/Contribution.php index f0f6f56c64..eb709ec4be 100644 --- a/CRM/Contribute/Import/Parser/Contribution.php +++ b/CRM/Contribute/Import/Parser/Contribution.php @@ -650,12 +650,6 @@ class CRM_Contribute_Import_Parser_Contribution extends CRM_Import_Parser { public function import($onDuplicate, &$values) { $rowNumber = (int) ($values[array_key_last($values)]); try { - // first make sure this is a valid line - $response = $this->summary($values); - if ($response != CRM_Import_Parser::VALID) { - return CRM_Import_Parser::ERROR; - } - $params = $this->getMappedRow($values); $formatted = array_merge(['version' => 3, 'skipRecentView' => TRUE, 'skipCleanMoney' => TRUE, 'contribution_id' => $params['id'] ?? NULL], $params); //CRM-10994 -- 2.25.1