Skip to content

Commit

Permalink
fix: do not throw exception in worst case scenario when forced nonhas…
Browse files Browse the repository at this point in the history
…hed regrade of cloze subquestion
  • Loading branch information
Pol Torrent i Soler committed Aug 2, 2024
1 parent bab4737 commit a604ff4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions question.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,6 @@ public function get_matching_answer(array $response) {
if ($answer == '') {
return null;
}

// Questions with parent should be graded together in multianswerwiris qtype!
throw new moodle_exception('Questions with parent should be graded together');
}

// Test code:
Expand Down

0 comments on commit a604ff4

Please sign in to comment.