From 3da650f7cdc3b46a2ee31b14fa5b6e61edeeba00 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Tue, 5 Apr 2022 21:02:09 -0400 Subject: [PATCH] CiviGrant - Remove non-functional setting for grants tab in `contact_view_options` Fixes dev/core#3159 The status of the tab can be controlled at a coarse level by disabling/enabling the CiviGrant extension, and at a finer level with the Contact Layout Editor extension, making this option unnecessary. Since it's broken, it seemed best to remove it. --- ...view_options_OptionValue_CiviGrant.mgd.php | 31 ------------------- settings/Core.setting.php | 2 +- 2 files changed, 1 insertion(+), 32 deletions(-) delete mode 100644 ext/civigrant/managed/OptionGroup_contact_view_options_OptionValue_CiviGrant.mgd.php diff --git a/ext/civigrant/managed/OptionGroup_contact_view_options_OptionValue_CiviGrant.mgd.php b/ext/civigrant/managed/OptionGroup_contact_view_options_OptionValue_CiviGrant.mgd.php deleted file mode 100644 index 0458ec905b..0000000000 --- a/ext/civigrant/managed/OptionGroup_contact_view_options_OptionValue_CiviGrant.mgd.php +++ /dev/null @@ -1,31 +0,0 @@ - 'OptionGroup_contact_view_options_OptionValue_CiviGrant', - 'entity' => 'OptionValue', - 'cleanup' => 'unused', - 'update' => 'unmodified', - 'params' => [ - 'version' => 4, - 'values' => [ - 'option_group_id.name' => 'contact_view_options', - 'label' => 'Grants', - 'value' => '11', - 'name' => 'CiviGrant', - 'grouping' => NULL, - 'filter' => 0, - 'is_default' => FALSE, - 'weight' => 11, - 'description' => NULL, - 'is_optgroup' => FALSE, - 'is_reserved' => FALSE, - 'is_active' => TRUE, - 'icon' => NULL, - 'color' => NULL, - 'component_id' => NULL, - 'domain_id' => NULL, - 'visibility_id' => NULL, - ], - ], - ], -]; diff --git a/settings/Core.setting.php b/settings/Core.setting.php index f3079b296c..4992ef8c90 100644 --- a/settings/Core.setting.php +++ b/settings/Core.setting.php @@ -28,7 +28,7 @@ return [ 'pseudoconstant' => [ 'optionGroupName' => 'contact_view_options', ], - 'default' => '123456789101113', + 'default' => '1234567891013', 'add' => '4.1', 'title' => ts('Viewing Contacts'), 'is_domain' => '1', -- 2.25.1