mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-10579 fixed comment
This commit is contained in:
parent
7a6b7acf76
commit
0a89e2a003
@ -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' ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user