コード例 #1
0
 /**
  * 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();
 }
コード例 #2
0
	/**
	 * Stops notifying user of comments and due date
	 *
	 * @param unknown_type $user
	 */
	function unsubscribeUser($user) {
		parent::unsubscribeUser($user);
		//ObjectReminders::clearByObject($this);
	}