projects
/
civicrm-core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ec0873
)
Partial revert "dev/core#2232 Permit hook_civicrm_container and some other prebootish...
author
Tim Otten
<totten@civicrm.org>
Sat, 12 Dec 2020 05:08:20 +0000
(21:08 -0800)
committer
Tim Otten
<totten@civicrm.org>
Sat, 12 Dec 2020 05:08:59 +0000
(21:08 -0800)
This reverts commit
756d9e0dbbe4ff66d2568f02a8ee1f152bd9c5e5
.
CRM/Upgrade/DispatchPolicy.php
patch
|
blob
|
blame
|
history
diff --git
a/CRM/Upgrade/DispatchPolicy.php
b/CRM/Upgrade/DispatchPolicy.php
index a67c17e2aefe0e4d579619db4e54b86aa853a318..de0fa72511d554bb988d2100a4ea0eeae97f93d9 100644
(file)
--- 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',