Merge branch 'MDL-60145-master' of https://github.com/snake/moodle

This commit is contained in:
Eloy Lafuente (stronk7) 2018-10-18 18:56:34 +02:00
commit e38e2cde4e

View File

@ -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');
}
}
}