Skip to content

Commit

Permalink
Disabling quiz as a candidate.
Browse files Browse the repository at this point in the history
  • Loading branch information
nhoobin committed Sep 21, 2016
1 parent c964a77 commit 0ea8887
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mod/quiz/classes/request.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function get_triggers() {
* @return boolean True if should be handled
*/
public function is_candidate($event, $cm) {
return true; // TODO.
return false; // TODO.
}

// TODO set the state of the cm.
Expand Down Expand Up @@ -126,12 +126,12 @@ public function request_data($mform, $mod, $data) {
/**
* Grants an extension.
*
* @param int $assignmentid
* @param int $quizid
* @param int $userid
* @param int $duedate
* @return bool
*/
public function submit_extension($assignmentid, $userid, $duedate) {
public function submit_extension($quizid, $userid, $duedate) {
// TODO: Implement submit_extension() method.
}

Expand Down

0 comments on commit 0ea8887

Please sign in to comment.