Fix 'task id 9' issue.
Adds a message on Admin's Overview page if a task is of an unknown type. Removes task '9' adding on function.inserttask and ignores task id 9 on CronJobFunctions.
This commit is contained in:
@@ -83,7 +83,6 @@ if(($page == 'settings' || $page == 'overview')
|
||||
$log->logAction(ADM_ACTION, LOG_INFO, "rebuild configfiles due to changed setting");
|
||||
inserttask('1');
|
||||
inserttask('5');
|
||||
inserttask('9');
|
||||
|
||||
# Using nameserver, insert a task which rebuilds the server config
|
||||
if ($settings['system']['bind_enable'])
|
||||
@@ -129,7 +128,6 @@ elseif($page == 'rebuildconfigs'
|
||||
$log->logAction(ADM_ACTION, LOG_INFO, "rebuild configfiles");
|
||||
inserttask('1');
|
||||
inserttask('5');
|
||||
inserttask('9');
|
||||
inserttask('10');
|
||||
|
||||
# Using nameserver, insert a task which rebuilds the server config
|
||||
|
||||
Reference in New Issue
Block a user