MDL-18910 moving modedit features to modname_supports()
[moodle.git] / mod / assignment / mod_form.php
index be17f2b..7802a61 100644 (file)
@@ -60,16 +60,10 @@ class mod_assignment_mod_form extends moodleform_mod {
         $mform->addElement('header', 'typedesc', get_string('type'.$type,'assignment'));
         $assignmentinstance->setup_elements($mform);
 
-        $features = new stdClass;
-        $features->groups = true;
-        $features->groupings = true;
-        $features->groupmembersonly = true;
-        $this->standard_coursemodule_elements($features);
+        $this->standard_coursemodule_elements();
 
         $this->add_action_buttons();
     }
 
-
-
 }
-?>
+