MDL-34498 grade: rubric session timeout

Allow a longer session timeout when editing a grading rubric form.
This commit is contained in:
Damyon Wiese
2019-06-06 09:31:07 +08:00
parent 7aeeb44463
commit ceacef1bd8
+5 -1
View File
@@ -65,6 +65,10 @@ if ($mform->is_cancelled()) {
redirect($returnurl, $warning, null, \core\output\notification::NOTIFY_ERROR);
}
// Try to keep the session alive on this page as it may take some time
// before significant interaction happens with the server.
\core\session\manager::keepalive();
echo $OUTPUT->header();
$mform->display();
echo $OUTPUT->footer();
echo $OUTPUT->footer();