From 0f382586ce3ecb59ed6ee5f0df0a8a6c44d7b042 Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Sun, 8 Jan 2023 23:24:43 +0100 Subject: [PATCH] set version to 2.0.5 Signed-off-by: Michael Kaufmann --- install/froxlor.sql.php | 4 ++-- install/updates/froxlor/update_2.x.inc.php | 5 +++++ lib/Froxlor/Froxlor.php | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/install/froxlor.sql.php b/install/froxlor.sql.php index 38b1e169..abc4bd27 100644 --- a/install/froxlor.sql.php +++ b/install/froxlor.sql.php @@ -696,7 +696,7 @@ opcache.validate_timestamps'), ('system', 'distribution', ''), ('system', 'update_channel', 'stable'), ('system', 'updatecheck_data', ''), - ('system', 'update_notify_last', '2.0.4'), + ('system', 'update_notify_last', '2.0.5'), ('system', 'traffictool', 'goaccess'), ('api', 'enabled', '0'), ('2fa', 'enabled', '1'), @@ -740,7 +740,7 @@ opcache.validate_timestamps'), ('panel', 'logo_overridetheme', '0'), ('panel', 'logo_overridecustom', '0'), ('panel', 'settings_mode', '0'), - ('panel', 'version', '2.0.4'), + ('panel', 'version', '2.0.5'), ('panel', 'db_version', '202212060'); diff --git a/install/updates/froxlor/update_2.x.inc.php b/install/updates/froxlor/update_2.x.inc.php index 07bee59a..880f5d56 100644 --- a/install/updates/froxlor/update_2.x.inc.php +++ b/install/updates/froxlor/update_2.x.inc.php @@ -273,3 +273,8 @@ EOF; Froxlor::updateToVersion('2.0.4'); } + +if (Froxlor::isFroxlorVersion('2.0.4')) { + Update::showUpdateStep("Updating from 2.0.4 to 2.0.5", false); + Froxlor::updateToVersion('2.0.5'); +} diff --git a/lib/Froxlor/Froxlor.php b/lib/Froxlor/Froxlor.php index 1f4b90e5..ceed292a 100644 --- a/lib/Froxlor/Froxlor.php +++ b/lib/Froxlor/Froxlor.php @@ -31,7 +31,7 @@ final class Froxlor { // Main version variable - const VERSION = '2.0.4'; + const VERSION = '2.0.5'; // Database version (YYYYMMDDC where C is a daily counter) const DBVERSION = '202212060';