diff options
author | Jean-Michel Vedrine <vedrine@vedrine.org> | 2013-05-08 18:06:59 +0200 |
---|---|---|
committer | Jean-Michel Vedrine <vedrine@vedrine.org> | 2013-05-08 18:06:59 +0200 |
commit | 678b4edf335c4d4f3851a19c2a30eddbec69d91e (patch) | |
tree | 55798c9cd3ef240913180b76d4913d01d5e0e378 | |
parent | 0754591e3b95a6d4d220d77b9f94b60c758589d5 (diff) |
forgot to change table name in one place
-rw-r--r-- | questiontype.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/questiontype.php b/questiontype.php index 177ddff..9311964 100644 --- a/questiontype.php +++ b/questiontype.php @@ -70,7 +70,7 @@ class qtype_algebra extends question_type { public function delete_question($questionid, $contextid) { global $DB; - $DB->delete_records('qtype_algebra', array('questionid' => $questionid)); + $DB->delete_records('qtype_algebra_options', array('questionid' => $questionid)); $DB->delete_records('qtype_algebra_variables', array('question' => $questionid)); parent::delete_question($questionid, $contextid); |