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:
Fabrício Zimmerer Murta
2012-06-18 02:05:55 -03:00
parent 12d137aac4
commit 42b9964e9c
3 changed files with 5 additions and 3 deletions

View File

@@ -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