From: Eileen McNaughton Date: Tue, 19 Apr 2022 00:03:30 +0000 (+1200) Subject: Remove meaningless code X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=ca4c34042c4703b4a17874c1290b11fbb7f721f9;p=civicrm-core.git Remove meaningless code --- 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();