mirror of
https://github.com/moodle/moodle.git
synced 2025-03-14 12:40:01 +01:00
"MDL-23797, added set_context"
This commit is contained in:
parent
66c34e9cf4
commit
9765051209
@ -31,6 +31,7 @@ require_once($CFG->libdir.'/filelib.php');
|
||||
|
||||
$action = optional_param('action', 'list', PARAM_ALPHA);
|
||||
|
||||
$PAGE->set_context(get_system_context());
|
||||
require_login();
|
||||
|
||||
echo $OUTPUT->header(); // send headers
|
||||
|
Loading…
x
Reference in New Issue
Block a user