Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quiz override form class has moved #157

Open
matthewhilton opened this issue Apr 4, 2024 · 0 comments
Open

Quiz override form class has moved #157

matthewhilton opened this issue Apr 4, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matthewhilton
Copy link
Contributor

Since Moodle 4.2 because of https://tracker.moodle.org/browse/MDL-74923 and https://tracker.moodle.org/browse/MDL-76614 the mod_quiz override form has moved to a namespaced class. So

require_once($CFG->dirroot . '/mod/quiz/override_form.php');
is no longer valid.

It likely still works because of some class renaming magic https://github.com/moodle/moodle/blob/main/mod/quiz/db/renamedclasses.php#L56 but should be fixed (because this may be removed in later versions after full deprecation)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant