From 39d2bf64d4d389b5060f031b2894c732ee317a69 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Mon, 30 May 2022 09:35:21 +1200 Subject: [PATCH] Remove obsolete code - this parameter is not possible --- CRM/Contact/Import/Parser/Contact.php | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index e81a34394e78..8fc0865e29b7 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -2123,28 +2123,6 @@ protected function formatContactParameters(&$values, &$params) { // @todo - remove this after confirming this is just a compilation of other-wise-cached fields. static $fields = []; - if (isset($values['individual_prefix'])) { - if (!empty($params['prefix_id'])) { - $prefixes = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'prefix_id'); - $params['prefix'] = $prefixes[$params['prefix_id']]; - } - else { - $params['prefix'] = $values['individual_prefix']; - } - return TRUE; - } - - if (isset($values['individual_suffix'])) { - if (!empty($params['suffix_id'])) { - $suffixes = CRM_Core_PseudoConstant::get('CRM_Contact_DAO_Contact', 'suffix_id'); - $params['suffix'] = $suffixes[$params['suffix_id']]; - } - else { - $params['suffix'] = $values['individual_suffix']; - } - return TRUE; - } - // CRM-4575 if (isset($values['email_greeting'])) { if (!empty($params['email_greeting_id'])) {