Skip to content
Browse files

add groupings awareness to HotPot module

  • Loading branch information...
1 parent 743ee9d commit 1bef863f845f963b038fe8039c63939e65274c66 @gbateson gbateson committed Jan 12, 2010
Showing with 7 additions and 3 deletions.
  1. +7 −3 mod/hotpot/mod_form.php
View
10 mod/hotpot/mod_form.php
@@ -268,9 +268,13 @@ function definition() {
$mform->setHelpButton('clickreporting', array('clickreporting', get_string('clickreporting', 'hotpot'), 'hotpot'));
// $mform->setAdvanced('clickreporting');
-//----------------------------------------------
- $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();

0 comments on commit 1bef863

Please sign in to comment.
Something went wrong with that request. Please try again.