]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-10579 fixed comment
authorskodak <skodak>
Tue, 24 Jul 2007 07:46:58 +0000 (07:46 +0000)
committerskodak <skodak>
Tue, 24 Jul 2007 07:46:58 +0000 (07:46 +0000)
grade/lib.php

index 86dcadc92c03bcea457a15d8e87bddf3f3d42cb8..88e28e14ef9d624274d2096a152a359ad4c08abd 100644 (file)
@@ -93,7 +93,7 @@ function print_grade_plugin_selector($courseid, $active_type, $active_plugin, $r
     }
 
 /// editing scripts - not real plugins
-    if (has_capability('moodle/grade:manage', $context)) { //TODO: add proper capability here
+    if (has_capability('moodle/grade:manage', $context)) {
         $menu['edit']='--'.get_string('edit');
         $url = 'edit/tree.php?id='.$courseid;
         if ($active_type == 'edit' and $active_plugin == 'tree' ) {