MDL-10888: groupings - mod/forum - update to use new standard_coursemodule_elements()

This commit is contained in:
mattc-catalyst 2007-08-21 05:03:48 +00:00
parent 5080d619a3
commit 010a47bf7d

View File

@ -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();