From: Gordon Bateson Date: Tue, 12 Jan 2010 07:27:43 +0000 (+0000) Subject: add groupings awareness to HotPot module X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=da92577c008c4281350df709236a27148a5a9c94;p=moodle.git add groupings awareness to HotPot module --- diff --git a/mod/hotpot/mod_form.php b/mod/hotpot/mod_form.php index d19319065e..85eae544fd 100644 --- a/mod/hotpot/mod_form.php +++ b/mod/hotpot/mod_form.php @@ -256,7 +256,11 @@ class mod_hotpot_mod_form extends moodleform_mod { // $mform->setAdvanced('forceplugins'); //---------------------------------------------- - $this->standard_coursemodule_elements(); + $features = new stdClass; + $features->groups = true; + $features->groupings = true; + $features->groupmembersonly = true; + $this->standard_coursemodule_elements($features); //---------------------------------------------- $this->add_action_buttons();