use correct classes and not 0.10.x format

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-09-17 17:20:58 +02:00
parent 5591bc41b4
commit fd596801e2

View File

@@ -885,7 +885,8 @@ if (Froxlor::isDatabaseVersion('202107200')) {
if (Froxlor::isDatabaseVersion('202107210')) {
Update::showUpdateStep("Normalizing ipv6 for correct comparison", true);
$result_stmt = Database::prepare("
$result_stmt = Database::prepare(
"
SELECT `id`, `ip` FROM `" . TABLE_PANEL_IPSANDPORTS . "`"
);
Database::pexecute($result_stmt);
@@ -996,12 +997,12 @@ if (Froxlor::isFroxlorVersion('0.10.35.1')) {
Froxlor::updateToVersion('0.10.36');
}
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.36')) {
showUpdateStep("Updating from 0.10.36 to 0.10.37", false);
\Froxlor\Froxlor::updateToVersion('0.10.37');
if (Froxlor::isFroxlorVersion('0.10.36')) {
Update::showUpdateStep("Updating from 0.10.36 to 0.10.37", false);
Froxlor::updateToVersion('0.10.37');
}
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.37')) {
showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
\Froxlor\Froxlor::updateToVersion('0.10.38');
if (Froxlor::isFroxlorVersion('0.10.37')) {
Update::showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
Froxlor::updateToVersion('0.10.38');
}