From 70bbc67e630acd51aa93f4aec503f696e10d5f8a Mon Sep 17 00:00:00 2001 From: demeritcowboy Date: Fri, 3 Jul 2020 19:27:57 -0400 Subject: [PATCH] only show message once --- CRM/Upgrade/Incremental/php/FiveTwentySeven.php | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/CRM/Upgrade/Incremental/php/FiveTwentySeven.php b/CRM/Upgrade/Incremental/php/FiveTwentySeven.php index c37d150605..b8cb7bffff 100644 --- a/CRM/Upgrade/Incremental/php/FiveTwentySeven.php +++ b/CRM/Upgrade/Incremental/php/FiveTwentySeven.php @@ -29,10 +29,12 @@ class CRM_Upgrade_Incremental_php_FiveTwentySeven extends CRM_Upgrade_Incrementa // if ($rev == '5.12.34') { // $preUpgradeMessage .= '

' . ts('A new permission, "%1", has been added. This permission is now used to control access to the Manage Tags screen.', array(1 => ts('manage tags'))) . '

'; // } - $preUpgradeMessage .= '

' . ts('Starting with version 5.28.0, CiviCRM will - require the PHP Internationalization extension (PHP-Intl). In preparation - for this, the system check will show a warning beginning in 5.27.0 if your - site lacks this extension.') . '

'; + if ($rev == '5.27.alpha1') { + $preUpgradeMessage .= '

' . ts('Starting with version 5.28.0, CiviCRM will + require the PHP Internationalization extension (PHP-Intl). In preparation + for this, the system check will show a warning beginning in 5.27.0 if your + site lacks this extension.') . '

'; + } } /** -- 2.25.1