From: Tim Otten Date: Wed, 27 Jul 2022 23:43:55 +0000 (-0700) Subject: (dev/core#3490) Upgrader - 5.52's #24040 is obsoleted by 5.53's #24030 X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;ds=sidebyside;h=054c96488379757db329b54a9203cfd7b8b36150;hp=-c;p=civicrm-core.git (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. --- 054c96488379757db329b54a9203cfd7b8b36150 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; }