diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f2ca25d894b..de751a5a51a 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -259,6 +259,9 @@ function forum_cron () { } } } + + /// GWD: reset timelimit so that script does not get timed out when posting to many users + set_time_limit(10); /// Override the language and timezone of the "current" user, so that /// mail is customised for the receiver.