From 4f4abada6f932b1eaca7035a6f56d3754ac158a1 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 9 Oct 2024 10:55:31 +0200 Subject: [PATCH] set version to 2.2.2 for upcoming release Signed-off-by: Michael Kaufmann --- install/froxlor.sql.php | 2 +- install/updates/froxlor/update_2.2.inc.php | 5 +++++ lib/Froxlor/Froxlor.php | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/install/froxlor.sql.php b/install/froxlor.sql.php index bfcd1dca7..185c9be07 100644 --- a/install/froxlor.sql.php +++ b/install/froxlor.sql.php @@ -730,7 +730,7 @@ ('panel', 'logo_overridecustom', '0'), ('panel', 'settings_mode', '0'), ('panel', 'menu_collapsed', '1'), - ('panel', 'version', '2.2.1'), + ('panel', 'version', '2.2.2'), ('panel', 'db_version', '202409280'); diff --git a/install/updates/froxlor/update_2.2.inc.php b/install/updates/froxlor/update_2.2.inc.php index b9d9b9003..bc4801133 100644 --- a/install/updates/froxlor/update_2.2.inc.php +++ b/install/updates/froxlor/update_2.2.inc.php @@ -178,3 +178,8 @@ Froxlor::updateToDbVersion('202409280'); } + +if (Froxlor::isFroxlorVersion('2.2.1')) { + Update::showUpdateStep("Updating from 2.2.1 to 2.2.2", false); + Froxlor::updateToVersion('2.2.2'); +} diff --git a/lib/Froxlor/Froxlor.php b/lib/Froxlor/Froxlor.php index 046e38555..c8ba73944 100644 --- a/lib/Froxlor/Froxlor.php +++ b/lib/Froxlor/Froxlor.php @@ -31,7 +31,7 @@ final class Froxlor { // Main version variable - const VERSION = '2.2.1'; + const VERSION = '2.2.2'; // Database version (YYYYMMDDC where C is a daily counter) const DBVERSION = '202409280';