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