Merge pull request #23556 from eileenmcnaughton/import_depot
[civicrm-core.git] / CRM / Contact / Import / Parser / Contact.php
index 973c68b3c99a978e4034cb8aa8fa8c8d3a739356..4eea4f2d718f3056aa762bfdf83d8db8607e950d 100644 (file)
@@ -884,11 +884,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser {
             if (!empty($value['location_type_id'])) {
               $this->formatLocationBlock($value, $formatted);
             }
-            else {
-              // @todo - this is still reachable - e.g. import with related contact info like firstname,lastname,spouse-first-name,spouse-last-name,spouse-home-phone
-              CRM_Core_Error::deprecatedFunctionWarning('this is not expected to be reachable now');
-              $this->formatContactParameters($value, $formatted);
-            }
           }
         }
         if (!$isAddressCustomField) {