MDL-58140 completion: access control refinements

Part of MDL-58138 epic
This commit is contained in:
Marina Glancy
2017-04-19 08:52:57 +08:00
committed by Jake Dallimore
parent 6e60511953
commit 0cbc248dd3
9 changed files with 114 additions and 38 deletions
+1
View File
@@ -52,6 +52,7 @@ if ($id) {
}
// Set up the page.
navigation_node::override_active_url(new moodle_url('/course/completion.php', array('id' => $course->id)));
$PAGE->set_course($course);
$PAGE->set_url('/course/bulkcompletion.php', array('id' => $course->id));
$PAGE->set_title($course->shortname);