function delete_question($questionid) { if (!wrsqz_delete_question('match', 'wmatprom', $questionid)) { return false; } return parent::delete_question($questionid); }
function delete_question($questionid, $contextid) { global $DB; $DB->delete_records('question_randomsamatch', array('question' => $questionid)); parent::delete_question($questionid, $contextid); }