From e4b86cfae9c5c902ba36df5e730d9ee4a83da00a Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Thu, 2 Jun 2022 19:04:21 +1200 Subject: [PATCH] Remove transitional getMetadataParams --- CRM/Contact/Import/Parser/Contact.php | 38 --------------------------- CRM/Import/Parser.php | 12 --------- 2 files changed, 50 deletions(-) diff --git a/CRM/Contact/Import/Parser/Contact.php b/CRM/Contact/Import/Parser/Contact.php index bd62171231..cde72b2615 100644 --- a/CRM/Contact/Import/Parser/Contact.php +++ b/CRM/Contact/Import/Parser/Contact.php @@ -80,44 +80,6 @@ class CRM_Contact_Import_Parser_Contact extends CRM_Import_Parser { protected $fieldMetadata = []; - /** - * Fields which are being handled by metadata formatting & validation functions. - * - * This is intended as a temporary parameter as we phase in metadata handling. - * - * The end result is that all fields will be & this will go but for now it is - * opt in. - * - * @var string[] - */ - protected $metadataHandledFields = [ - 'contact_type', - 'contact_sub_type', - 'gender_id', - 'birth_date', - 'deceased_date', - 'is_deceased', - 'prefix_id', - 'suffix_id', - 'communication_style', - 'preferred_language', - 'preferred_communication_method', - 'phone', - 'im', - 'openid', - 'email', - 'website', - 'url', - 'email_greeting', - 'email_greeting_id', - 'postal_greeting', - 'postal_greeting_id', - 'addressee', - 'addressee_id', - 'geo_code_1', - 'geo_code_2', - ]; - /** * Relationship labels. * diff --git a/CRM/Import/Parser.php b/CRM/Import/Parser.php index 3b39ce69dc..f2d6ecbf96 100644 --- a/CRM/Import/Parser.php +++ b/CRM/Import/Parser.php @@ -53,18 +53,6 @@ abstract class CRM_Import_Parser { */ protected $userJobID; - /** - * Fields which are being handled by metadata formatting & validation functions. - * - * This is intended as a temporary parameter as we phase in metadata handling. - * - * The end result is that all fields will be & this will go but for now it is - * opt in. - * - * @var array - */ - protected $metadataHandledFields = []; - /** * Potentially ambiguous options. * -- 2.25.1