Remove unused variables.
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 4 Jun 2022 11:24:43 +0000 (23:24 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Mon, 6 Jun 2022 04:46:38 +0000 (16:46 +1200)
CRM/Member/Import/Form/MapField.php

index 795f39267833b1ce1b0790dac8b045947645c814..8246c387b2cd51ef7e456e3722993da611fe90af 100644 (file)
@@ -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')) {