From: tstarling Date: Tue, 10 Apr 2012 00:36:30 +0000 (+1000) Subject: Remove request_with_session/request_without_session X-Git-Tag: 1.31.0-rc.0~23938^2 X-Git-Url: http://git.cyclocoop.org/%27%40script%40/%28?a=commitdiff_plain;h=42fcd43299246ecd1b265fcfcdd01a60319cf378;p=lhc%2Fweb%2Fwiklou.git Remove request_with_session/request_without_session Remove wfIncrStats() calls for request_with_session and request_without_session. These cause a high load on the profiler and are not currently needed for performance analysis. Change-Id: I0ed1e87574c7c9eeaee4e503db86b862ff0995bb --- diff --git a/includes/Setup.php b/includes/Setup.php index 32cd75c46c..68a715f09c 100644 --- a/includes/Setup.php +++ b/includes/Setup.php @@ -468,11 +468,9 @@ if ( !wfIniGetBool( 'session.auto_start' ) ) { if ( !defined( 'MW_NO_SESSION' ) && !$wgCommandLineMode ) { if ( $wgRequest->checkSessionCookie() || isset( $_COOKIE[$wgCookiePrefix . 'Token'] ) ) { - wfIncrStats( 'request_with_session' ); wfSetupSession(); $wgSessionStarted = true; } else { - wfIncrStats( 'request_without_session' ); $wgSessionStarted = false; } }