From 40c81e6e1cae6a74afd4541636c54997bea1460e Mon Sep 17 00:00:00 2001 From: eileen Date: Sat, 12 Dec 2020 18:37:25 +1300 Subject: [PATCH] Remove some deprecated code chunks --- CRM/Contact/Import/Parser.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/CRM/Contact/Import/Parser.php b/CRM/Contact/Import/Parser.php index 4a4034037a..a351fa2c31 100644 --- a/CRM/Contact/Import/Parser.php +++ b/CRM/Contact/Import/Parser.php @@ -563,18 +563,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { return $params; } - /** - * @return array - */ - public function getColumnPatterns() { - CRM_Core_Error::deprecatedFunctionWarning('no longer used- use CRM_Contact_Import_MetadataTrait'); - $values = []; - foreach ($this->_fields as $name => $field) { - $values[$name] = $field->_columnPattern; - } - return $values; - } - /** * @param string $name * @param $title @@ -1113,12 +1101,6 @@ abstract class CRM_Contact_Import_Parser extends CRM_Import_Parser { return TRUE; } - // get the formatted location blocks into params - w/ 3.0 format, CRM-4605 - if (!empty($values['location_type_id'])) { - CRM_Core_Error::deprecatedFunctionWarning('this is not expected to be reachable now'); - return $this->formatLocationBlock($values, $params); - } - if (isset($values['note'])) { // add a note field if (!isset($params['note'])) { -- 2.25.1