From 80b2cd1758ba3f02ac52d6a9e1a32d370fa9a559 Mon Sep 17 00:00:00 2001 From: eileen Date: Fri, 12 Apr 2019 17:55:15 +1000 Subject: [PATCH] Remove now-redundant if This is no longer called when location_type_id is empty --- CRM/Contact/Import/Parser.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/CRM/Contact/Import/Parser.php b/CRM/Contact/Import/Parser.php index 0f0951443d..ddd5bcd073 100644 --- a/CRM/Contact/Import/Parser.php +++ b/CRM/Contact/Import/Parser.php @@ -1200,9 +1200,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { * @return bool */ protected function formatLocationBlock(&$values, &$params) { - if (empty($values['location_type_id'])) { - return FALSE; - } $blockTypes = [ 'phone' => 'Phone', 'email' => 'Email', -- 2.25.1