]> git.mjollnir.org Git - moodle.git/commitdiff
reset timelimit so that script does not get timed out when posting to many users
authorgustav_delius <gustav_delius>
Sun, 25 Jan 2004 17:04:54 +0000 (17:04 +0000)
committergustav_delius <gustav_delius>
Sun, 25 Jan 2004 17:04:54 +0000 (17:04 +0000)
mod/forum/lib.php

index f2ca25d894b2de8be436b4e9d2637ae19ddc2df6..de751a5a51ac01ce8d4a64767949546a2b84cd40 100644 (file)
@@ -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.