From ca4c34042c4703b4a17874c1290b11fbb7f721f9 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Tue, 19 Apr 2022 12:03:30 +1200 Subject: [PATCH] Remove meaningless code --- CRM/Contact/Import/Parser/Contact.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index cb955236a5..b5b03a915b 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -2613,16 +2613,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { $this->_activeFieldCount = count($this->_activeFields); } - if ($mode == self::MODE_IMPORT) { - //get the key of email field - foreach ($mapper as $key => $value) { - if (strtolower($value) == 'email') { - $emailKey = $key; - break; - } - } - } - if ($statusID) { $this->progressImport($statusID); $startTimestamp = $currTimestamp = $prevTimestamp = time(); -- 2.25.1