MDL-45059 Availability: Hide group options with groupmembersonly
authorsam marshall <s.marshall@open.ac.uk>
Fri, 11 Apr 2014 11:05:43 +0000 (12:05 +0100)
committersam marshall <s.marshall@open.ac.uk>
Fri, 11 Apr 2014 11:11:35 +0000 (12:11 +0100)
commit02dd7ac2ea8a32a40dbd64acf226fdfb235a98e8
tree757406638d1868cf1edbf8545558e5ab0cffe706
parentaf8a43248efe81b8b55c38e53b3f7f80bbc16d8a
MDL-45059 Availability: Hide group options with groupmembersonly

When groupmembersonly is turned on, the 'restrict access' options
for group and grouping are supposed to appear only for sections
(which don't have groupmembersonly) and not for modules.

Prior to this fix, they appeared when creating a new module but
not when editing an existing one.
availability/condition/group/classes/frontend.php
availability/condition/grouping/classes/frontend.php