From 81a73a4cb26e60b89ace33e3548d27304dd427c4 Mon Sep 17 00:00:00 2001 From: Eileen McNaughton Date: Sat, 18 Mar 2023 14:55:10 +1300 Subject: [PATCH] Remove never-true if isProfile is always false --- CRM/Dedupe/BAO/DedupeRuleGroup.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/CRM/Dedupe/BAO/DedupeRuleGroup.php b/CRM/Dedupe/BAO/DedupeRuleGroup.php index 09c7ea6c03..0feb3f5e0a 100644 --- a/CRM/Dedupe/BAO/DedupeRuleGroup.php +++ b/CRM/Dedupe/BAO/DedupeRuleGroup.php @@ -215,27 +215,6 @@ class CRM_Dedupe_BAO_DedupeRuleGroup extends CRM_Dedupe_DAO_DedupeRuleGroup { } } - if ($isProfile) { - $fields = array_merge($fields, [ - 'group' => [ - 'title' => ts('Group(s)'), - 'name' => 'group', - ], - 'tag' => [ - 'title' => ts('Tag(s)'), - 'name' => 'tag', - ], - 'note' => [ - 'title' => ts('Note'), - 'name' => 'note', - ], - 'communication_style_id' => [ - 'title' => ts('Communication Style'), - 'name' => 'communication_style_id', - ], - ]); - } - //Sorting fields in alphabetical order(CRM-1507) $fields = CRM_Utils_Array::crmArraySortByField($fields, 'title'); -- 2.25.1