From: moodler <moodler>
Date: Tue, 18 May 2004 14:16:34 +0000 (+0000)
Subject: Suppress some errors in set_time_limit  ... (these scripts aren't used yet)
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=4b4d25fa366e3b86b99e39d2d96c41581803ac33;p=moodle.git

Suppress some errors in set_time_limit  ... (these scripts aren't used yet)
---

diff --git a/mod/chat/gui_push_js/chatmsg.php b/mod/chat/gui_push_js/chatmsg.php
index e16e337d9c..6ec3678be5 100644
--- a/mod/chat/gui_push_js/chatmsg.php
+++ b/mod/chat/gui_push_js/chatmsg.php
@@ -37,7 +37,7 @@ if ($arsc_my = arsc_getdatafromsid($arsc_sid))
  echo $arsc_parameters["htmlhead_js"];
  
  set_magic_quotes_runtime(0);
- set_time_limit(0);
+ @set_time_limit(0);
  $arsc_sendtime = date("H:i:s");
  $arsc_timeid = arsc_microtime();
  $arsc_message = "/msg ".$arsc_my["user"]." ".$arsc_lang["welcome"];
diff --git a/mod/chat/gui_sockets/arscd.php b/mod/chat/gui_sockets/arscd.php
index 25ac0fd8fb..f200666897 100644
--- a/mod/chat/gui_sockets/arscd.php
+++ b/mod/chat/gui_sockets/arscd.php
@@ -1,6 +1,6 @@
 #!/usr/local/php-cgi/current/bin/php -q
 <?php
-set_time_limit (0);
+@set_time_limit (0);
 set_magic_quotes_runtime(0);
 
 include("../config.inc.php");
@@ -261,4 +261,4 @@ function arsc_socket_write(&$connection, $text)
  return $return;
 }
 
-?>
\ No newline at end of file
+?>