Remove last non-variable variables
authorEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Mar 2023 01:58:37 +0000 (14:58 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Sat, 18 Mar 2023 22:15:48 +0000 (11:15 +1300)
CRM/Dedupe/BAO/DedupeRuleGroup.php

index 49012a102fdad52b77551cebdd2f0aec45e3536a..59163f198670a0d238eb21e26fd0074ad0ac1100 100644 (file)
@@ -142,8 +142,6 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup {
    *   array of importable Fields
    */
   private static function importableFields($contactType): array {
-    $showAll = FALSE;
-    $withMultiCustomFields = FALSE;
 
     $cacheKeyString = 'importableFields ' . $contactType . '_0_0_0_1';
     $cacheKeyString .= '_' . CRM_Core_Config::domainID() . '_';
@@ -194,11 +192,11 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup {
 
       $fields = array_merge($fields,
         CRM_Core_BAO_CustomField::getFieldsForImport($contactType,
-          $showAll,
+          FALSE,
           TRUE,
           FALSE,
           FALSE,
-          $withMultiCustomFields
+          FALSE
         )
       );
       // Unset the fields which are not related to their contact type.