Skip to content

Commit

Permalink
Fixed reportgraphs MDL-10700
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Aug 3, 2007
1 parent 1002d7e commit a4f3137
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin/report/courseoverview/reportsgraph.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@

require_login();

require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM, SITEID));
require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM));

stats_check_uptodate($course->id);
stats_check_uptodate();

$param = stats_get_parameters($time,$report,SITEID,STATS_MODE_RANKED);

Expand Down

0 comments on commit a4f3137

Please sign in to comment.