only show message once
authordemeritcowboy <demeritcowboy@hotmail.com>
Fri, 3 Jul 2020 23:27:57 +0000 (19:27 -0400)
committerdemeritcowboy <demeritcowboy@hotmail.com>
Fri, 3 Jul 2020 23:27:57 +0000 (19:27 -0400)
CRM/Upgrade/Incremental/php/FiveTwentySeven.php

index c37d150605297231ef239922026232064a97d8f9..b8cb7bffff07e4bc97cfcbab010e96ae85379be6 100644 (file)
@@ -29,10 +29,12 @@ class CRM_Upgrade_Incremental_php_FiveTwentySeven extends CRM_Upgrade_Incrementa
     // if ($rev == '5.12.34') {
     //   $preUpgradeMessage .= '<p>' . 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'))) . '</p>';
     // }
-    $preUpgradeMessage .= '<p>' . 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.') . '</p>';
+    if ($rev == '5.27.alpha1') {
+      $preUpgradeMessage .= '<p>' . 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.') . '</p>';
+    }
   }
 
   /**