Skip to content

Commit

Permalink
Merge pull request #197 from AntoineLemarchand/main
Browse files Browse the repository at this point in the history
update version number
  • Loading branch information
airoine committed Jan 29, 2024
2 parents ca5edb6 + 55c4caf commit 5f29c95
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions inc/define.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

// Last version of GLPI only for plugin compatibility
define('GLPI_VERSION', '9.5.13');
define('ITSM_VERSION', '2.0.0_beta1');
define('ITSM_VERSION', '2.0.0_beta2');
if (substr(ITSM_VERSION, -4) === '-dev') {
//for dev version
define('ITSM_PREVER', str_replace('-dev', '', ITSM_VERSION));
Expand All @@ -43,7 +43,7 @@
);
} else {
//for stable version
define("ITSM_SCHEMA_VERSION", '2.0.0_beta1');
define("ITSM_SCHEMA_VERSION", '2.0.0_beta2');
}

// Current version of ITSM-NG
Expand Down
2 changes: 1 addition & 1 deletion inc/update.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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_beta1":
case "2.0.0_beta2":
include_once "{$updir}itsm_update_151_200.php";
update151to200();

Expand Down
4 changes: 2 additions & 2 deletions install/itsm_update_151_200.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function update151to200() : bool {
$current_config = Config::getConfigurationValues('core');
$updateresult = true;

$migration->displayTitle(sprintf(__('Update to %s'), '2.0.0_beta1'));
$migration->setVersion('2.0.0_beta1');
$migration->displayTitle(sprintf(__('Update to %s'), '2.0.0_beta2'));
$migration->setVersion('2.0.0_beta2');

if(!$DB->fieldExists('glpi_users', 'menu_favorite')) {
$query = "alter table glpi_users add column menu_favorite longtext default '{}';";
Expand Down

0 comments on commit 5f29c95

Please sign in to comment.