mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 13:02:07 +02:00
MDL-53274 message: set page context
This commit is contained in:
parent
13e2c1bf58
commit
0a4f89e5b6
@ -39,6 +39,7 @@ if (empty($CFG->messaging)) {
|
||||
throw new moodle_exception('disabled', 'core_message');
|
||||
}
|
||||
|
||||
$PAGE->set_context(null);
|
||||
require_sesskey();
|
||||
$action = optional_param('action', null, PARAM_ALPHA);
|
||||
$response = null;
|
||||
|
Loading…
x
Reference in New Issue
Block a user