From a18123274d31dd66ad0957802f1a1ff14815f956 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Mon, 21 Mar 2022 14:38:48 -0700 Subject: [PATCH] Post-upgrade messages no longer being displayed (part 2) This line is only hit if the upgrader activates CiviGrant. --- CRM/Upgrade/Incremental/Base.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CRM/Upgrade/Incremental/Base.php b/CRM/Upgrade/Incremental/Base.php index be5e72d90f..7e8cae3aed 100644 --- a/CRM/Upgrade/Incremental/Base.php +++ b/CRM/Upgrade/Incremental/Base.php @@ -195,7 +195,9 @@ class CRM_Upgrade_Incremental_Base { // Note: A good test-scenario is to install 5.45; enable logging and CiviGrant; disable searchkit+afform; then upgrade to 5.47. $schema = new CRM_Logging_Schema(); $schema->fixSchemaDifferences(); - CRM_Core_Invoke::rebuildMenuAndCaches(FALSE, TRUE); + + CRM_Core_Invoke::rebuildMenuAndCaches(FALSE, FALSE); + // sessionReset is FALSE because upgrade status/postUpgradeMessages are needed by the page. We reset later in doFinish(). return TRUE; } -- 2.25.1