]> git.mjollnir.org Git - moodle.git/commitdiff
course-reports MDL-16438 Fixed broken reports, changed plugin list type to coursereport
authorsamhemelryk <samhemelryk>
Tue, 30 Jun 2009 01:41:28 +0000 (01:41 +0000)
committersamhemelryk <samhemelryk>
Tue, 30 Jun 2009 01:41:28 +0000 (01:41 +0000)
course/report.php

index 07b8218d7556aa883b46786ff3d98764c0f82440..078b4ffbb550b16d226420fe87ba71c6df18296c 100644 (file)
@@ -21,7 +21,7 @@
     $navigation = build_navigation($navlinks);
     print_header($course->fullname.': '.$strreports, $course->fullname.': '.$strreports, $navigation);
 
-    $reports = get_plugin_list('report');
+    $reports = get_plugin_list('coursereport');
 
     foreach ($reports as $report => $reportdirectory) {
         $pluginfile = $reportdirectory.'/mod.php';