mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
Fixes merged from HEAD for MDL-10833
This commit is contained in:
parent
6255297f0b
commit
bf4c59aa42
1 changed files with 2 additions and 0 deletions
|
@ -15,6 +15,8 @@ The feature will also reset the start date of the course if necessary.
|
|||
error("Course is misconfigured");
|
||||
}
|
||||
|
||||
require_login($course->id);
|
||||
|
||||
require_capability('moodle/course:update', get_context_instance(CONTEXT_COURSE, $course->id));
|
||||
|
||||
$strreset = get_string('reset');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue