use namespaces in modules
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user