MDL-60145 course: fix bug with group restictions button during mod edit
authorJake Dallimore <jake@moodle.com>
Tue, 21 Aug 2018 09:28:30 +0000 (17:28 +0800)
committerJake Dallimore <jake@moodle.com>
Wed, 10 Oct 2018 00:40:07 +0000 (08:40 +0800)
commitde60737dd7d063827e744b5bbac28a0ebadf3504
tree544c87a3d3b118621c1db0ea6f2a9e9c970606eb
parent129783b98c4d5a9a4559260fc26dc1e21ab83be0
MDL-60145 course: fix bug with group restictions button during mod edit

If a mod doesn't support groups, then we remove the grouping element,
and now also the 'add group/group restriction' helper button too.
course/moodleform_mod.php