Skip to content

Commit

Permalink
Merge branch 'MDL-34519_23_course_reset_patch' of git://github.com/rl…
Browse files Browse the repository at this point in the history
…orenzo/moodle into MOODLE_23_STABLE
  • Loading branch information
danpoltawski committed Jul 30, 2012
2 parents 6975216 + f163187 commit 6fe5755
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion course/reset.php
Expand Up @@ -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');
Expand Down

0 comments on commit 6fe5755

Please sign in to comment.