From 9afa9cc2deab01dbce23c41955f66f26daa2277c Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Mar 2023 14:58:37 +1300 Subject: [PATCH] Remove last non-variable variables --- CRM/Dedupe/BAO/DedupeRuleGroup.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/CRM/Dedupe/BAO/DedupeRuleGroup.php b/CRM/Dedupe/BAO/DedupeRuleGroup.php index 49012a102f..59163f1986 100644 --- a/CRM/Dedupe/BAO/DedupeRuleGroup.php +++ b/CRM/Dedupe/BAO/DedupeRuleGroup.php @@ -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. -- 2.25.1