Fixed theme and require_login MDL-10833

This commit is contained in:
moodler
2007-08-13 13:40:35 +00:00
parent 36d3e28d30
commit 665f8762ae
+2
View File
@@ -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');