Quote:
Originally Posted by GhostMan
I'm not really familiar with tasks, should it look like that when i'm removing it?
PHP Code:
if(task_exists(id))
{
remove_task(id)
}
|
If you don't know the inner workings of remove_task() then yes, but technically, you don't need to check if the task exists before executing remove_task().
__________________