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:
@@ -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>';
|
||||
|
||||
Reference in New Issue
Block a user