Merge branch '42277-26' of git://github.com/samhemelryk/moodle

This commit is contained in:
Dan Poltawski
2013-10-23 13:18:45 +08:00
+1
View File
@@ -33,6 +33,7 @@ require_once($CFG->dirroot.'/course/lib.php');
$action = required_param('action', PARAM_ALPHA);
require_sesskey(); // Gotta have the sesskey.
require_login(); // Gotta be logged in (of course).
$PAGE->set_context(context_system::instance());
// Prepare an outcome object. We always use this.
$outcome = new stdClass;