MDL-44642 grading: Add session keepalive during advanced grading setup

This commit is contained in:
Andrew Nicols 2014-12-02 11:25:16 +08:00
parent 57996fe956
commit de1c6859cc

View File

@ -57,6 +57,10 @@ if ($mform->is_cancelled()) {
redirect($returnurl);
}
// 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();