forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-68806 quiz: Retain backwards compatibility in external functions
To ensure backwards compatibility, particularly with the mobile app, the mod_quiz_get_user_attempts and mod_quiz_get_attempt_review functions will continue to return only the existing 'inprogress', 'overdue', 'finished' and 'abandoned' states for quiz attempts. 'submitted' attempts will be reported as 'finished', while 'notstarted' attempts will be reported as 'inprogress'. These functions are now deprecated. The new functions mod_quiz_get_user_quiz_attempts and mod_quiz_get_quiz_attempt_review will replace them. They have exactly the same code as the original functions had before these changes, so will return all attempts in their true states.
- Loading branch information
1 parent
0ee290d
commit 5c4a2a6
Showing
4 changed files
with
863 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.