use namespaces in modules

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-18 13:45:05 +01:00
parent 9d314aaa3f
commit 6329042d40
43 changed files with 203 additions and 96 deletions

View File

@@ -20,7 +20,7 @@
// check for cron.d-generation task and create it if necessary
checkCrondConfigurationFile();
if (Settings::Get('logger.log_cron') == '1') {
if (\Froxlor\Settings::Get('logger.log_cron') == '1') {
$cronlog->setCronLog(0);
fwrite($debugHandler, 'Logging for cron has been shutdown' . "\n");
}
@@ -31,8 +31,6 @@ if ($keepLockFile === true) {
fclose($debugHandler);
if ($keepLockFile === false
&& $cronscriptDebug === false
) {
if ($keepLockFile === false && $cronscriptDebug === false) {
unlink($lockfile);
}