-
Improvement
-
Resolution: Won't Fix
-
Critical
-
None
-
2.3, 2.5
-
MOODLE_23_STABLE, MOODLE_25_STABLE
-
There are now lots of different classes defined in the quiz, and at the moment they are all mixed up in the mod/quiz folder with the front-end scripts like view.php and attempt.php.
It would be better to move them into mod/quiz/classes folder, with one php file per class.
At the same time, try to make it possible to use constants like quiz_attempt::FINISHED in lib.php without having to include all of locallib.php.