MDL-10579 fixed comment

This commit is contained in:
skodak 2007-07-24 07:46:58 +00:00
parent 7a6b7acf76
commit 0a89e2a003

View 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' ) {