mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
Merge branch 'MDL-16464' of https://github.com/timhunt/moodle
This commit is contained in:
commit
c7387be83b
@ -176,7 +176,7 @@ class qtype_multichoice extends question_type {
|
||||
|
||||
public function delete_question($questionid, $contextid) {
|
||||
global $DB;
|
||||
$DB->delete_records('qtype_multichoice_options', array('question' => $questionid));
|
||||
$DB->delete_records('qtype_multichoice_options', array('questionid' => $questionid));
|
||||
|
||||
parent::delete_question($questionid, $contextid);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user