From bfddf4b6b76c00a684954477f87c00ef37b50918 Mon Sep 17 00:00:00 2001 From: larssandergreen Date: Wed, 5 Jul 2023 17:52:40 -0600 Subject: [PATCH] Don't remove core component permissions when disabled --- CRM/Core/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Core/Config.php b/CRM/Core/Config.php index 771fce371e..66e59e4264 100644 --- a/CRM/Core/Config.php +++ b/CRM/Core/Config.php @@ -290,7 +290,7 @@ class CRM_Core_Config extends CRM_Core_Config_MagicMerge { if ($this->userPermissionClass->isModulePermissionSupported()) { // Can store permissions -- so do it! $this->userPermissionClass->upgradePermissions( - CRM_Core_Permission::basicPermissions() + CRM_Core_Permission::basicPermissions(TRUE) ); } elseif (get_class($this->userPermissionClass) !== 'CRM_Core_Permission_UnitTests') { -- 2.25.1