From bfcb3e32efdc7a77778dacc830d41390a4052fe2 Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Mon, 23 Jul 2007 17:18:32 +0000 Subject: [PATCH] debugging code accidentally left in --- includes/GlobalFunctions.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index f8d0c767de..02a30a471c 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -237,13 +237,6 @@ function wfLogDBError( $text ) { * Log to a file without getting "file size exceeded" signals */ function wfErrorLog( $text, $file ) { - # Temp: add unique request prefix - static $prefix; - if ( !isset( $prefix ) ) { - $prefix = chr( mt_rand( 33, 126 ) ) . chr( mt_rand( 33, 126 ) ) . chr( mt_rand( 33, 126 ) ) . '| '; - } - $text = $prefix . $text; - wfSuppressWarnings(); $exists = file_exists( $file ); $size = $exists ? filesize( $file ) : false; @@ -2146,9 +2139,7 @@ function wfSetupSession() { } session_set_cookie_params( 0, $wgCookiePath, $wgCookieDomain, $wgCookieSecure); session_cache_limiter( 'private, must-revalidate' ); - wfDebug( "Starting session..." ); @session_start(); - wfDebug( "ok\n" ); } /** -- 2.20.1