Remove transitional getMetadataParams
authorEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 2 Jun 2022 07:04:21 +0000 (19:04 +1200)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Thu, 2 Jun 2022 07:04:21 +0000 (19:04 +1200)
CRM/Contact/Import/Parser/Contact.php
CRM/Import/Parser.php

index bd621712317d0883346cd3f5b39061413857f573..cde72b26153915f73007ce0492e7ad18b53b4133 100644 (file)
@@ -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.
    *
index 3b39ce69dcb51b5a079fb031b172b4912c242461..f2d6ecbf967ac4f4a5aba26edae8b40199ebbce3 100644 (file)
@@ -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.
    *