mirrored from git://git.moodle.org/moodle.git
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-74255 quiz: handle draft question status correctly
The main issue to fix is that questions vesions which should not have been used (that is, hidden or draft versions) were getting offered as an option and acutally being used. As part of this I was able to substantially un-tangle mod_quiz\question\bank\qbank_helper, which previously was a mass of functions calling other functions in a complicated way. Hopefully, it is now a bit easer to understand, and perhaps less buggy.
- Loading branch information
Showing
14 changed files
with
436 additions
and
553 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
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
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
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.