From da92577c008c4281350df709236a27148a5a9c94 Mon Sep 17 00:00:00 2001 From: Gordon Bateson Date: Tue, 12 Jan 2010 07:27:43 +0000 Subject: [PATCH] add groupings awareness to HotPot module --- mod/hotpot/mod_form.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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(); -- 2.39.5