From 054c96488379757db329b54a9203cfd7b8b36150 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 27 Jul 2022 16:43:55 -0700 Subject: [PATCH] (dev/core#3490) Upgrader - 5.52's #24040 is obsoleted by 5.53's #24030 5.53's #24030 is the longer term fix for dev/core#3490. 5.52's #24040 was a short term mitigation and is not needed going forward. --- CRM/Upgrade/Form.php | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/CRM/Upgrade/Form.php b/CRM/Upgrade/Form.php index 2627f28c29..5682df2bf0 100644 --- a/CRM/Upgrade/Form.php +++ b/CRM/Upgrade/Form.php @@ -877,17 +877,7 @@ SET version = '$version' * @return bool */ public static function doFinalMessages(CRM_Queue_TaskContext $ctx, $originalVer, $latestVer, $postUpgradeMessageFile): bool { - // NOTE: This step should be automated circa 5.53. - $originalMajorMinor = array_slice(explode('.', $originalVer), 0, 2); - $latestMajorMinor = array_slice(explode('.', $latestVer), 0, 2); - if ($originalMajorMinor !== $latestMajorMinor) { - file_put_contents($postUpgradeMessageFile, - '

' . ts('WARNING: Core extensions may also require database updates. Please execute extension updates immediately.', [ - 1 => sprintf('href="%s" target="_blank" ', CRM_Utils_System::url('civicrm/admin/extensions/upgrade', 'reset=1', TRUE)), - ]), - FILE_APPEND - ); - } + // There are currently no final messages to list. However, this stub may be useful for future messages. return TRUE; } -- 2.25.1