Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Corrected some table/field names

  • Loading branch information...
commit f89c3674bbe4656b880bca5f0893eb0b92beee9e 1 parent e8ca86f
authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  mod/quiz/lib.php
4  mod/quiz/lib.php
@@ -342,13 +342,13 @@ function quiz_delete_course($course, $feedback=true) {
342 342
                         delete_records("quiz_numerical", "question", $question->id);
343 343
                         delete_records("quiz_numerical_units", "question", $question->id);
344 344
                         delete_records("quiz_calculated", "question", $question->id);
345  
-                        delete_records("quiz_datasets", "question", $question->id);
  345
+                        delete_records("quiz_question_datasets", "question", $question->id);
346 346
                         delete_records("quiz_randomsamatch", "question", $question->id);
347 347
                         delete_records("quiz_shortanswer", "question", $question->id);
348 348
                         delete_records("quiz_truefalse", "question", $question->id);
349 349
                         delete_records("quiz_rqp", "question", $question->id);
350 350
                         delete_records("quiz_states", "question", $question->id);
351  
-                        delete_records("quiz_newest_states", "question", $question->id);
  351
+                        delete_records("quiz_newest_states", "questionid", $question->id);
352 352
                         delete_records("quiz_question_versions", "oldquestion", $question->id);
353 353
                         delete_records("quiz_question_versions", "newquestion", $question->id);
354 354
                     }

0 notes on commit f89c367

Please sign in to comment.
Something went wrong with that request. Please try again.