diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index ca80044b73a..3c9a70622e7 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2590,6 +2590,9 @@ class assign { // More efficient to load this here. require_once($CFG->libdir.'/filelib.php'); + // Increase the server timeout to handle the creation and sending of large zip files. + core_php_time_limit::raise(); + $this->require_view_grades(); // Load all users with submit.