From dc28603c1eb882f2ac2fa197fd2ef667cc7175f1 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Fri, 11 Dec 2020 21:08:20 -0800 Subject: [PATCH] Partial revert "dev/core#2232 Permit hook_civicrm_container and some other prebootish hooks to run during upgrade and clear out the asset builder cache post upgrade" This reverts commit 756d9e0dbbe4ff66d2568f02a8ee1f152bd9c5e5. --- CRM/Upgrade/DispatchPolicy.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/CRM/Upgrade/DispatchPolicy.php b/CRM/Upgrade/DispatchPolicy.php index a67c17e2ae..de0fa72511 100644 --- a/CRM/Upgrade/DispatchPolicy.php +++ b/CRM/Upgrade/DispatchPolicy.php @@ -59,10 +59,6 @@ class CRM_Upgrade_DispatchPolicy { // It's more restrictive, preventing interference from unexpected callpaths. $policies['upgrade.main'] = [ 'hook_civicrm_config' => 'run', - 'hook_civicrm_container' => 'run', - 'hook_civicrm_alterSettingsFolders' => 'run', - 'hook_civicrm_alterSettingsMetaData' => 'run', - 'hook_civicrm_permission' => 'run', '/^hook_civicrm_(pre|post)$/' => 'drop', '/^hook_civicrm_/' => $strict ? 'warn-drop' : 'drop', '/^civi\./' => 'run', -- 2.25.1