X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUpgrade%2FIncremental%2Fphp%2FFiveFortySix.php;h=26d9bdc87e5a51381273a674e6789d9d3ff1bba8;hb=51de810aaf25d4cd873f81f0c0bb67f018249d0f;hp=6b94c7836b2e87afbdc77026c54abdb72cfec437;hpb=c3170cf96320ecd9445d52a9faa68a8a1535c16b;p=civicrm-core.git diff --git a/CRM/Upgrade/Incremental/php/FiveFortySix.php b/CRM/Upgrade/Incremental/php/FiveFortySix.php index 6b94c7836b..26d9bdc87e 100644 --- a/CRM/Upgrade/Incremental/php/FiveFortySix.php +++ b/CRM/Upgrade/Incremental/php/FiveFortySix.php @@ -10,11 +10,12 @@ */ /** - * Upgrade logic for FiveFortySix */ + * Upgrade logic for FiveFortySix + */ class CRM_Upgrade_Incremental_php_FiveFortySix extends CRM_Upgrade_Incremental_Base { /** - * Compute any messages which should be displayed beforeupgrade. + * Compute any messages which should be displayed before upgrade. * * Note: This function is called iteratively for each incremental upgrade step. * There must be a concrete step (eg 'X.Y.Z.mysql.tpl' or 'upgrade_X_Y_Z()'). @@ -25,10 +26,6 @@ class CRM_Upgrade_Incremental_php_FiveFortySix extends CRM_Upgrade_Incremental_B * @param null $currentVer */ public function setPreUpgradeMessage(&$preUpgradeMessage, $rev, $currentVer = NULL): void { - // Example: Generate a pre-upgrade message. - // 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'))) . '
'; - // } } /** @@ -43,33 +40,15 @@ class CRM_Upgrade_Incremental_php_FiveFortySix extends CRM_Upgrade_Incremental_B * an intermediate version; note that setPostUpgradeMessage is called repeatedly with different $revs. */ public function setPostUpgradeMessage(&$postUpgradeMessage, $rev): void { - // Example: Generate a post-upgrade message. - // if ($rev == '5.12.34') { - // $postUpgradeMessage .= '