public function ClozeResponse::delete in Cloze 6
Same name and namespace in other branches
- 7 cloze.classes.inc \ClozeResponse::delete()
Implementation of delete
See also
QuizQuestionResponse#delete()
File
- ./
cloze.classes.inc, line 276 - The main classes for the short answer question type.
Class
- ClozeResponse
- Extension of QuizQuestionResponse
Code
public function delete() {
db_query('DELETE FROM {quiz_cloze_user_answers} WHERE question_nid = %d AND question_vid = %d AND result_id = %d', $this->question->nid, $this->question->vid, $this->rid);
}