From: Eileen McNaughton Date: Fri, 27 May 2022 22:01:28 +0000 (+1200) Subject: Remove unused variables X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=07c7b62cde3d8c6daf1d72b32ecde0a0b0c9c27d;p=civicrm-core.git Remove unused variables --- diff --git a/CRM/Member/Import/Form/MapField.php b/CRM/Member/Import/Form/MapField.php index 069ff135ac..c164a87630 100644 --- a/CRM/Member/Import/Form/MapField.php +++ b/CRM/Member/Import/Form/MapField.php @@ -107,13 +107,9 @@ class CRM_Member_Import_Form_MapField extends CRM_Import_Form_MapField { else { $savedMapping = $this->get('savedMapping'); - list($mappingName, $mappingContactType, $mappingLocation, $mappingPhoneType, $mappingRelation) = CRM_Core_BAO_Mapping::getMappingFields($savedMapping); + list($mappingName) = CRM_Core_BAO_Mapping::getMappingFields($savedMapping); $mappingName = $mappingName[1]; - $mappingContactType = $mappingContactType[1]; - $mappingLocation = $mappingLocation['1'] ?? NULL; - $mappingPhoneType = $mappingPhoneType['1'] ?? NULL; - $mappingRelation = $mappingRelation['1'] ?? NULL; //mapping is to be loaded from database