You are here

public function OpignoScormQuizResponse::delete in Opigno 7

@copydoc QuizQuestionResponse::delete()

File

modules/scorm/quiz/includes/opigno_scorm_quiz.response.inc, line 87
Response type class definition.

Class

OpignoScormQuizResponse
@file Response type class definition.

Code

public function delete() {
  db_delete('opigno_scorm_quiz_user_results')
    ->condition('question_nid', $this->question->nid)
    ->condition('question_vid', $this->question->vid)
    ->condition('result_id', $this->rid)
    ->execute();
}