mirror of
https://github.com/moodle/moodle.git
synced 2025-04-22 08:55:15 +02:00
Merge branch 'MDL-60145-master' of https://github.com/snake/moodle
This commit is contained in:
commit
e38e2cde4e
@ -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');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user