MDL-70107 tool_task: Unlock session on long running tasks in UI

This commit is contained in:
Brendan Heywood
2020-11-18 23:07:30 +01:00
committed by Eloy Lafuente (stronk7)
parent e6a54ae764
commit 9fa0decc04
+2
View File
@@ -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';