Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected some table/field names

  • Loading branch information...
commit f89c3674bbe4656b880bca5f0893eb0b92beee9e 1 parent e8ca86f
patrickslee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/lib.php
View
4 mod/quiz/lib.php
@@ -342,13 +342,13 @@ function quiz_delete_course($course, $feedback=true) {
delete_records("quiz_numerical", "question", $question->id);
delete_records("quiz_numerical_units", "question", $question->id);
delete_records("quiz_calculated", "question", $question->id);
- delete_records("quiz_datasets", "question", $question->id);
+ delete_records("quiz_question_datasets", "question", $question->id);
delete_records("quiz_randomsamatch", "question", $question->id);
delete_records("quiz_shortanswer", "question", $question->id);
delete_records("quiz_truefalse", "question", $question->id);
delete_records("quiz_rqp", "question", $question->id);
delete_records("quiz_states", "question", $question->id);
- delete_records("quiz_newest_states", "question", $question->id);
+ delete_records("quiz_newest_states", "questionid", $question->id);
delete_records("quiz_question_versions", "oldquestion", $question->id);
delete_records("quiz_question_versions", "newquestion", $question->id);
}
Please sign in to comment.
Something went wrong with that request. Please try again.