From f3a8175815ac206ee6fd301ecceaf533047b36fa Mon Sep 17 00:00:00 2001 From: paul Date: Tue, 21 Nov 2006 16:13:17 +0000 Subject: [PATCH] Removed special cases for PHP5 handling. --- .../src/modules/storageServer/var/xmlrpc/xrLocStor.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/campcaster/src/modules/storageServer/var/xmlrpc/xrLocStor.php b/campcaster/src/modules/storageServer/var/xmlrpc/xrLocStor.php index 8acbd39ff..8f74e1e93 100644 --- a/campcaster/src/modules/storageServer/var/xmlrpc/xrLocStor.php +++ b/campcaster/src/modules/storageServer/var/xmlrpc/xrLocStor.php @@ -51,11 +51,7 @@ function errHndl($errno, $errmsg, $filename, $linenum, $vars) exit($errno); } } -if (PHP5) { - $old_error_handler = set_error_handler("errHndl", E_ALL); -} else { - $old_error_handler = set_error_handler("errHndl"); -} +$old_error_handler = set_error_handler("errHndl", E_ALL); /* ============================================================= runable code */ $r = $dbc = DB::connect($config['dsn'], TRUE);