/** * Disapprove (reject the result of) a specified task */ public function disapprove($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->disapprove(); } return $result; }
/** * Disapprove (reject the result of) a specified task */ public function disapprove($id) { global $USER; $result = array(); if ($id = $this->checkTaskId($id)) { $task = new \CTaskItem($id, $USER->GetId()); $task->disapprove(); } return $result; }