-
Improvement
-
Resolution: Fixed
-
Minor
-
3.6.6, 3.7.2, 3.8
-
MOODLE_36_STABLE, MOODLE_37_STABLE, MOODLE_38_STABLE
-
MOODLE_38_STABLE
-
MDL-66633-master -
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