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

Quiz: quiz attempt API should let you create an attempt for a different user

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 3.6.6, 3.7.2, 3.8
    • 3.8
    • Quiz

    Description

      The quiz_create_attempt method allows you to specify the $userid the attempt is for, separate from the identity of the current user.
      However, the quiz_prepare_and_start_new_attempt does not support this.
      They should have a $userid = null parameter

      Attachments

        Activity

          People

            HuongNV Huong Nguyen
            HuongNV Huong Nguyen
            Tim Hunt Tim Hunt
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            CiBoT CiBoT
            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:
              18/Nov/19

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 45 minutes
                45m