use correct classes and not 0.10.x format
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -885,7 +885,8 @@ if (Froxlor::isDatabaseVersion('202107200')) {
|
|||||||
|
|
||||||
if (Froxlor::isDatabaseVersion('202107210')) {
|
if (Froxlor::isDatabaseVersion('202107210')) {
|
||||||
Update::showUpdateStep("Normalizing ipv6 for correct comparison", true);
|
Update::showUpdateStep("Normalizing ipv6 for correct comparison", true);
|
||||||
$result_stmt = Database::prepare("
|
$result_stmt = Database::prepare(
|
||||||
|
"
|
||||||
SELECT `id`, `ip` FROM `" . TABLE_PANEL_IPSANDPORTS . "`"
|
SELECT `id`, `ip` FROM `" . TABLE_PANEL_IPSANDPORTS . "`"
|
||||||
);
|
);
|
||||||
Database::pexecute($result_stmt);
|
Database::pexecute($result_stmt);
|
||||||
@@ -996,12 +997,12 @@ if (Froxlor::isFroxlorVersion('0.10.35.1')) {
|
|||||||
Froxlor::updateToVersion('0.10.36');
|
Froxlor::updateToVersion('0.10.36');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.36')) {
|
if (Froxlor::isFroxlorVersion('0.10.36')) {
|
||||||
showUpdateStep("Updating from 0.10.36 to 0.10.37", false);
|
Update::showUpdateStep("Updating from 0.10.36 to 0.10.37", false);
|
||||||
\Froxlor\Froxlor::updateToVersion('0.10.37');
|
Froxlor::updateToVersion('0.10.37');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (\Froxlor\Froxlor::isFroxlorVersion('0.10.37')) {
|
if (Froxlor::isFroxlorVersion('0.10.37')) {
|
||||||
showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
|
Update::showUpdateStep("Updating from 0.10.37 to 0.10.38", false);
|
||||||
\Froxlor\Froxlor::updateToVersion('0.10.38');
|
Froxlor::updateToVersion('0.10.38');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user