Partial revert "dev/core#2232 Permit hook_civicrm_container and some other prebootish...
authorTim Otten <totten@civicrm.org>
Sat, 12 Dec 2020 05:08:20 +0000 (21:08 -0800)
committerTim Otten <totten@civicrm.org>
Sat, 12 Dec 2020 05:08:59 +0000 (21:08 -0800)
This reverts commit 756d9e0dbbe4ff66d2568f02a8ee1f152bd9c5e5.

CRM/Upgrade/DispatchPolicy.php

index a67c17e2aefe0e4d579619db4e54b86aa853a318..de0fa72511d554bb988d2100a4ea0eeae97f93d9 100644 (file)
@@ -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',