MDL-70107 tool_task: Unlock session on long running tasks in UI
This commit is contained in:
committed by
Eloy Lafuente (stronk7)
parent
e6a54ae764
commit
9fa0decc04
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user