Permalink
Browse files

Merge branch 'MDL-34519_21_course_reset_patch' of git://github.com/rl…

…orenzo/moodle into MOODLE_21_STABLE
  • Loading branch information...
2 parents 60dce6a + e74681c commit e60c472ccb6522fb98920a7c1758e55baffc681a @danpoltawski danpoltawski committed Jul 30, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 course/reset.php
View
2 course/reset.php
@@ -39,7 +39,7 @@
$PAGE->set_url('/course/reset.php', array('id'=>$id));
require_login($course);
-require_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $course->id));
+require_capability('moodle/course:reset', get_context_instance(CONTEXT_COURSE, $course->id));
$strreset = get_string('reset');
$strresetcourse = get_string('resetcourse');

0 comments on commit e60c472

Please sign in to comment.