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:
@@ -35,7 +35,6 @@ function inserttask($type, $param1 = '', $param2 = '', $param3 = '', $param4 = '
|
||||
|| $type == '3'
|
||||
|| $type == '4'
|
||||
|| $type == '5'
|
||||
|| $type == '9'
|
||||
|| $type == '10')
|
||||
{
|
||||
$db->query('DELETE FROM `' . TABLE_PANEL_TASKS . '` WHERE `type`="' . $type . '"');
|
||||
|
||||
Reference in New Issue
Block a user