From: Eileen McNaughton Date: Sat, 4 Jun 2022 11:24:43 +0000 (+1200) Subject: Remove unused variables. X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=8d0ce49d6f8b0827e574a5170f4110d19cea15bd;p=civicrm-core.git Remove unused variables. --- diff --git a/CRM/Member/Import/Form/MapField.php b/CRM/Member/Import/Form/MapField.php index 795f392678..8246c387b2 100644 --- a/CRM/Member/Import/Form/MapField.php +++ b/CRM/Member/Import/Form/MapField.php @@ -38,11 +38,6 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { $headerPatterns = $this->getHeaderPatterns(); $dataPatterns = $this->getDataPatterns(); - /* Initialize all field usages to false */ - - foreach ($mapperKeys as $key) { - $this->_fieldUsed[$key] = FALSE; - } $this->_location_types = CRM_Core_PseudoConstant::get('CRM_Core_DAO_Address', 'location_type_id'); $sel1 = $this->_mapperFields; if (!$this->getSubmittedValue('onDuplicate')) {