From 678b4edf335c4d4f3851a19c2a30eddbec69d91e Mon Sep 17 00:00:00 2001 From: Jean-Michel Vedrine Date: Wed, 8 May 2013 18:06:59 +0200 Subject: forgot to change table name in one place --- questiontype.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit v1.2.3