/** * Delete this task * * @access public * @param void * @return boolean */ function delete() { $task_list = $this->getTaskList(); if ($task_list instanceof ProjectTaskList) { $task_list->detachTask($this); } return parent::delete(); }
/** * Stops notifying user of comments and due date * * @param unknown_type $user */ function unsubscribeUser($user) { parent::unsubscribeUser($user); //ObjectReminders::clearByObject($this); }