From 07c7b62cde3d8c6daf1d72b32ecde0a0b0c9c27d Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 28 May 2022 10:01:28 +1200 Subject: [PATCH] Remove unused variables --- CRM/Member/Import/Form/MapField.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 -- 2.25.1