Merge branch 'MDL-60145-34' of https://github.com/snake/moodle into MOODLE_34_STABLE
This commit is contained in:
@@ -290,6 +290,10 @@ abstract class moodleform_mod extends moodleform {
|
||||
if ($mform->elementExists('groupingid')) {
|
||||
$mform->removeElement('groupingid');
|
||||
}
|
||||
// Nor does the group restrictions button.
|
||||
if ($mform->elementExists('restrictgroupbutton')) {
|
||||
$mform->removeElement('restrictgroupbutton');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user