From e975fdb45425e0488fb40801820f84c8bdc5d5a0 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sun, 15 May 2022 09:13:13 +1200 Subject: [PATCH] [Import] [Ref] Remove unused variable --- CRM/Contact/Import/Parser/Contact.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index 0e6644c45b..f55ff39671 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -353,10 +353,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { $errorMessage = $e->getMessage(); array_unshift($values, $errorMessage); - $importRecordParams = [ - $statusFieldName => 'ERROR', - "${statusFieldName}Msg" => $errorMessage, - ]; $this->setImportStatus((int) $values[count($values) - 1], 'ERROR', $errorMessage); return CRM_Import_Parser::ERROR; } -- 2.25.1