"MDL-19118, comments api"
This commit is contained in:
@@ -255,6 +255,7 @@ if ($hassiteconfig || has_capability('moodle/question:config', $systemcontext))
|
||||
}
|
||||
|
||||
|
||||
$ADMIN->add('reports', new admin_externalpage('comments', get_string('comments'), $CFG->wwwroot.'/comment/', 'moodle/site:viewreports'));
|
||||
/// Now add reports
|
||||
|
||||
foreach (get_plugin_list('report') as $plugin => $plugindir) {
|
||||
@@ -283,4 +284,4 @@ foreach (get_plugin_list('local') as $plugin => $plugindir) {
|
||||
include($settings_path);
|
||||
continue;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user