]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15328 - hide grade category drop down.
authordanmarsden <danmarsden>
Mon, 11 Aug 2008 04:48:43 +0000 (04:48 +0000)
committerdanmarsden <danmarsden>
Mon, 11 Aug 2008 04:48:43 +0000 (04:48 +0000)
mod/choice/mod_form.php

index 573ac339ff78b76fa9a21e1cec3cc3ef81ec2da1..ba475073a0eaa7e3d184d68d61dd8393b2d66e63 100644 (file)
@@ -95,6 +95,7 @@ class mod_choice_mod_form extends moodleform_mod {
         $features->groups = true;
         $features->groupings = true;
         $features->groupmembersonly = true;
+        $features->gradecat = false;
         $this->standard_coursemodule_elements($features);
 //-------------------------------------------------------------------------------
         $this->add_action_buttons();