more function reducing and fixing

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-21 16:53:04 +01:00
parent 0a28ef2af6
commit a819d81ef2
21 changed files with 125 additions and 179 deletions

View File

@@ -67,7 +67,7 @@ if ($page == 'overview') {
'page' => 'error',
'errno' => 3
));
} elseif (version_compare2($version, $_version) == - 1) {
} elseif (\Froxlor\Froxlor::version_compare2($version, $_version) == - 1) {
// there is a newer version - yay
$isnewerversion = 1;
} else {