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 (Merged from MOODLE_15_STABLE)

  • Loading branch information...
commit 25c4cc57f82a4f15835d324b7a7ede971ee90b52 1 parent 30eb86c
patrickslee authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 mod/quiz/lib.php
View
4 mod/quiz/lib.php
@@ -343,13 +343,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.