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

@@ -51,5 +51,5 @@ function versionInUpdate($current_version, $version_to_check)
return true;
}
return (version_compare2($current_version, $version_to_check) == - 1 ? true : false);
return (\Froxlor\Froxlor::version_compare2($current_version, $version_to_check) == - 1 ? true : false);
}