From 0a89e2a00365bb228f9c3739eab6306d1b6f0204 Mon Sep 17 00:00:00 2001 From: skodak Date: Tue, 24 Jul 2007 07:46:58 +0000 Subject: [PATCH] MDL-10579 fixed comment --- grade/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grade/lib.php b/grade/lib.php index 86dcadc92c..88e28e14ef 100644 --- a/grade/lib.php +++ b/grade/lib.php @@ -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' ) { -- 2.39.5