Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-17579

mod quiz lib.php should call delete_attempt from questionlib.php

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.3
    • 2.0
    • Questions, Quiz
    • None
    • MOODLE_19_STABLE
    • MOODLE_20_STABLE

    Description

      At the moment it does custom SQL in quiz_delete_instance and quiz_reset_userdata, which is not guaranteed to be correct if questionlib.php changes.

      However, for efficiency reasons, we probably need to make a question_delete_attempts function that can delete multiple attempts at once.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10