edubase_delete_quiz_results_play
Archive a quiz play result to remove it from exam reports and lists, or forget a result outside exams to detach it from the user. Archived results stay restorable.
Instructions
Archive or forget the result of a Quiz play. An exam result is archived: it disappears from the result lists and the reports of the exam, but it is kept and can be restored by adding the archived user back to the exam. A result outside of an exam is forgotten: the play is detached from the user and only kept for the statistics. Exam results can only be archived when archiving is enabled for the exam (see the archive setting of edubase_post_exam_settings), and only the current result of the user can be archived. Results outside of an exam can only be forgotten by administrators.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| play | Yes | Quiz play identification string |