diff --git a/mod/assign/locallib.php b/mod/assign/locallib.php index 06a62cce296..9fbdb26562a 100644 --- a/mod/assign/locallib.php +++ b/mod/assign/locallib.php @@ -2597,6 +2597,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.