mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
MDL-10888: groupings - mod/forum - update to use new standard_coursemodule_elements()
This commit is contained in:
parent
5080d619a3
commit
010a47bf7d
@ -124,7 +124,11 @@ class mod_forum_mod_form extends moodleform_mod {
|
||||
$mform->disabledIf('warnafter', 'blockperiod', 'eq', 0);
|
||||
|
||||
//-------------------------------------------------------------------------------
|
||||
$this->standard_coursemodule_elements(true, true);
|
||||
$features = new stdClass;
|
||||
$features->groups = true;
|
||||
$features->groupings = true;
|
||||
$features->groupmembersonly = true;
|
||||
$this->standard_coursemodule_elements($features);
|
||||
//-------------------------------------------------------------------------------
|
||||
// buttons
|
||||
$this->add_action_buttons();
|
||||
|
Loading…
x
Reference in New Issue
Block a user