From 2e59678ef86e4b7ba12ad786c14869a9c5994ee7 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Fri, 22 Apr 2022 12:51:14 +1200 Subject: [PATCH] Remove an unset variable --- CRM/Contact/Import/Form/MapField.php | 7 ------- 1 file changed, 7 deletions(-) diff --git a/CRM/Contact/Import/Form/MapField.php b/CRM/Contact/Import/Form/MapField.php index f619d5bdf0..a00904ee3d 100644 --- a/CRM/Contact/Import/Form/MapField.php +++ b/CRM/Contact/Import/Form/MapField.php @@ -373,13 +373,6 @@ class CRM_Contact_Import_Form_MapField extends CRM_Import_Form_MapField { $js .= "\n"; $this->assign('initHideBoxes', $js); - //set warning if mismatch in more than - if (isset($mappingName) && - ($this->_columnCount != count($mappingName)) - ) { - CRM_Core_Session::singleton()->setStatus(ts('The data columns in this import file appear to be different from the saved mapping. Please verify that you have selected the correct saved mapping before continuing.')); - } - $this->setDefaults($defaults); $this->addButtons([ -- 2.25.1