/** * Drop all tasks that are in this list * * @access public * @param void * @return boolean */ function deleteTasks() { return ProjectTasks::delete(DB::escapeField('task_list_id') . ' = ' . DB::escape($this->getId())); }
/** * Drop all tasks that are in this list * * @access public * @param void * @return boolean */ function deleteSubTasks() { return ProjectTasks::delete(DB::escapeField('parent_id') . ' = ' . DB::escape($this->getId())); } // deleteTasks