From: gustav_delius Date: Sun, 25 Jan 2004 17:04:54 +0000 (+0000) Subject: reset timelimit so that script does not get timed out when posting to many users X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=8c0ef41d6a7c45e5c6ce0bfbfb06b745c42f2d0d;p=moodle.git reset timelimit so that script does not get timed out when posting to many users --- diff --git a/mod/forum/lib.php b/mod/forum/lib.php index f2ca25d894..de751a5a51 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.