mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 00:12:56 +02:00
MDL-70107 tool_task: Unlock session on long running tasks in UI
This commit is contained in:
parent
6ef4e66f03
commit
2481b041ce
@ -83,6 +83,8 @@ if (!optional_param('confirm', 0, PARAM_INT)) {
|
||||
// Action requires session key.
|
||||
require_sesskey();
|
||||
|
||||
\core\session\manager::write_close();
|
||||
|
||||
// Prepare to handle output via mtrace.
|
||||
echo html_writer::start_tag('pre');
|
||||
$CFG->mtrace_wrapper = 'tool_task_mtrace_wrapper';
|
||||
|
Loading…
x
Reference in New Issue
Block a user