mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 08:25:44 +00:00
fix error msg when user cli_scheduler does not exists
This commit is contained in:
parent
e64ef5fae3
commit
28aed4d11a
|
@ -66,7 +66,7 @@ include($myincpath."/inc/inc.Scheduler.php");
|
||||||
include($myincpath."/inc/inc.ClassController.php");
|
include($myincpath."/inc/inc.ClassController.php");
|
||||||
|
|
||||||
if(!($user = $dms->getUserByLogin('cli_scheduler'))) {
|
if(!($user = $dms->getUserByLogin('cli_scheduler'))) {
|
||||||
add_log_line("Execution of task ".$task->getExtension()."::".$task->getTask()." failed because of missing user 'cli_scheduler'. Task has been disabled.", PEAR_LOG_ERR);
|
add_log_line("Execution of tasks failed because of missing user 'cli_scheduler'. Will exit now.", PEAR_LOG_ERR);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user