Merge branch 'wip-MDL-60314-master' of git://github.com/marinaglancy/moodle
This commit is contained in:
@@ -2452,8 +2452,8 @@ class global_navigation extends navigation_node {
|
||||
|
||||
$reporttab = $usercoursenode->add(get_string('activityreports'));
|
||||
|
||||
$reports = get_plugin_list_with_function('report', 'extend_navigation_user', 'lib.php');
|
||||
foreach ($reports as $reportfunction) {
|
||||
$reportfunctions = get_plugin_list_with_function('report', 'extend_navigation_user', 'lib.php');
|
||||
foreach ($reportfunctions as $reportfunction) {
|
||||
$reportfunction($reporttab, $user, $usercourse);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user