Add ProjecFile and TaskFile models
This commit is contained in:
@@ -92,7 +92,7 @@ class Task extends Base
|
||||
return false;
|
||||
}
|
||||
|
||||
$this->file->removeAll($task_id);
|
||||
$this->taskFile->removeAll($task_id);
|
||||
|
||||
return $this->db->table(self::TABLE)->eq('id', $task_id)->remove();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user