MDL-44725 Availability: Replace groupmembersonly - quiz overrides (9)
authorsam marshall <s.marshall@open.ac.uk>
Fri, 1 Aug 2014 16:54:30 +0000 (17:54 +0100)
committersam marshall <s.marshall@open.ac.uk>
Tue, 2 Sep 2014 12:03:23 +0000 (13:03 +0100)
commitc234c340858ce53208a38a9d81faf33dfed05768
tree1383bd6b3d48aa80019107ca081c4855678ddeb2
parent914027baf88479ce48b17bd2e7a5e5aced37338a
MDL-44725 Availability: Replace groupmembersonly - quiz overrides (9)

This only affects the quiz overrides form, as groupmembersonly was
not used elsewhere. The change simply restricts the list of users
shown when selecting somebody for overrides.

Some additional code is needed to (efficiently) load the $cm object
as a cm_info so that the availability API can be used on it.
mod/quiz/override_form.php
mod/quiz/overrideedit.php
mod/quiz/overrides.php