Skip to content

Commit

Permalink
MDL-13526 fixed site stats report language; merged from MOODLE_19_STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
skodak committed Feb 23, 2008
1 parent cdcd728 commit ffa36c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/report/stats/index.php
Expand Up @@ -47,7 +47,7 @@
redirect("$CFG->wwwroot/$CFG->admin/settings.php?section=stats", get_string('mustenablestats', 'admin'), 3);
}

require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_COURSE, $course->id));
require_capability('moodle/site:viewreports', get_context_instance(CONTEXT_SYSTEM));

add_to_log($course->id, "course", "report stats", "report/stats/index.php?course=$course->id", $course->id);

Expand Down

0 comments on commit ffa36c6

Please sign in to comment.