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

@@ -216,6 +216,11 @@ function getOutstandingTasks()
{
$task_desc = $lng['tasks']['diskspace_set_quota'];
}
else
{
$task_desc = "ERROR: Unknown task type '".$row['type'].
"'";
}
if($task_desc != '') {
$tasks .= '<li>'.$task_desc.'</li>';