From db267998a7be551138ce4f8094c448de724b6b65 Mon Sep 17 00:00:00 2001 From: Antoine Lemarchand Date: Tue, 16 Jan 2024 14:58:47 +0100 Subject: [PATCH] fix(define.php): change version number --- inc/define.php | 4 ++-- inc/update.class.php | 2 +- install/itsm_update_151_200.php | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/inc/define.php b/inc/define.php index be6acedcb2..8882e9528d 100755 --- a/inc/define.php +++ b/inc/define.php @@ -33,7 +33,7 @@ // Last version of GLPI only for plugin compatibility define('GLPI_VERSION', '9.5.13'); -define('ITSM_VERSION', '2.0.0'); +define('ITSM_VERSION', '2.0.0_beta1'); if (substr(ITSM_VERSION, -4) === '-dev') { //for dev version define('ITSM_PREVER', str_replace('-dev', '', ITSM_VERSION)); @@ -43,7 +43,7 @@ ); } else { //for stable version - define("ITSM_SCHEMA_VERSION", '2.0.0'); + define("ITSM_SCHEMA_VERSION", '2.0.0_beta1'); } // Current version of ITSM-NG diff --git a/inc/update.class.php b/inc/update.class.php index 704d54df38..1613acfbdb 100644 --- a/inc/update.class.php +++ b/inc/update.class.php @@ -539,7 +539,7 @@ public function doUpdates($current_version = null) { case "1.6.0": include_once "{$updir}itsm_update_150_151.php"; update150to151(); - case "2.0.0": + case "2.0.0_beta1": include_once "{$updir}itsm_update_151_200.php"; update151to200(); diff --git a/install/itsm_update_151_200.php b/install/itsm_update_151_200.php index 9fd80ed4a4..de9f64b961 100644 --- a/install/itsm_update_151_200.php +++ b/install/itsm_update_151_200.php @@ -42,8 +42,8 @@ function update151to200() : bool { $current_config = Config::getConfigurationValues('core'); $updateresult = true; - $migration->displayTitle(sprintf(__('Update to %s'), '2.0.0')); - $migration->setVersion('2.0.0'); + $migration->displayTitle(sprintf(__('Update to %s'), '2.0.0_beta1')); + $migration->setVersion('2.0.0_beta1'); if(!$DB->fieldExists('glpi_users', 'menu_favorite')) { $query = "alter table glpi_users add column menu_favorite longtext default '{}';";