set version to 2.0.7

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann 2023-01-10 22:15:57 +01:00
parent 489ad375bd
commit 80e442e396
No known key found for this signature in database
GPG Key ID: C121F97338D7A352
3 changed files with 13 additions and 3 deletions

View File

@ -696,7 +696,7 @@ opcache.validate_timestamps'),
('system', 'distribution', ''),
('system', 'update_channel', 'stable'),
('system', 'updatecheck_data', ''),
('system', 'update_notify_last', '2.0.6'),
('system', 'update_notify_last', '2.0.7'),
('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.6'),
('panel', 'version', '2.0.7'),
('panel', 'db_version', '202212060');

View File

@ -291,3 +291,13 @@ if (Froxlor::isFroxlorVersion('2.0.5')) {
Froxlor::updateToVersion('2.0.6');
}
if (Froxlor::isFroxlorVersion('2.0.6')) {
Update::showUpdateStep("Updating from 2.0.6 to 2.0.7", false);
Update::showUpdateStep("Correcting allowed_mysqlserver for customers");
Database::query("UPDATE `" . TABLE_PANEL_CUSTOMERS . "` SET `allowed_mysqlserver` = '[0]' WHERE `allowed_mysqlserver` = ''");
Update::lastStepStatus(0);
Froxlor::updateToVersion('2.0.7');
}

View File

@ -31,7 +31,7 @@ final class Froxlor
{
// Main version variable
const VERSION = '2.0.6';
const VERSION = '2.0.7';
// Database version (YYYYMMDDC where C is a daily counter)
const DBVERSION = '202212060';