From b5cf5699202dba6ee7cec29e21d7546b01d7d18d Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Thu, 13 Feb 2020 12:42:47 +1100 Subject: [PATCH] dev/core#1489 Include hook_civicrm_managed into the list of upgrade freindly hooks --- CRM/Utils/Hook.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 1491da33e2..31663cacf5 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -160,7 +160,7 @@ abstract class CRM_Utils_Hook { // Instead of not calling any hooks we only call those we know to be frequently important - if a particular extension wanted // to avoid this they could do an early return on CRM_Core_Config::singleton()->isUpgradeMode // Futther discussion is happening at https://lab.civicrm.org/dev/core/issues/1460 - $upgradeFriendlyHooks = ['civicrm_alterSettingsFolders', 'civicrm_alterSettingsMetaData', 'civicrm_triggerInfo', 'civicrm_alterLogTables', 'civicrm_container', 'civicrm_permission']; + $upgradeFriendlyHooks = ['civicrm_alterSettingsFolders', 'civicrm_alterSettingsMetaData', 'civicrm_triggerInfo', 'civicrm_alterLogTables', 'civicrm_container', 'civicrm_permission', 'civicrm_managed']; if (CRM_Core_Config::singleton()->isUpgradeMode() && !in_array($fnSuffix, $upgradeFriendlyHooks)) { return; } -- 2.25.1