Merge branch '42277-26' of git://github.com/samhemelryk/moodle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user