Remove wfDebugLog() call from wfSetupSession()
authorAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 25 Mar 2014 18:41:18 +0000 (19:41 +0100)
committerAlexandre Emsenhuber <mediawiki@emsenhuber.ch>
Tue, 25 Mar 2014 18:41:18 +0000 (19:41 +0100)
Since Iffba121a99 (00b7f76) with the removal of wfHttpOnlySafe(),
session cookie's parameters are based only on configuration
settings, so there is no point to spam the "cookie" log group
with predicitible values.

Change-Id: I8b1cdea929cefc32dd8b01c2ecbf2d76bb64189f

includes/GlobalFunctions.php

index f0b0a8d..2314cb2 100644 (file)
@@ -3513,14 +3513,6 @@ function wfSetupSession( $sessionId = false ) {
                # hasn't already been set to the desired value (that causes errors)
                ini_set( 'session.save_handler', $wgSessionHandler );
        }
-       wfDebugLog( 'cookie',
-               'session_set_cookie_params: "' . implode( '", "',
-                       array(
-                               0,
-                               $wgCookiePath,
-                               $wgCookieDomain,
-                               $wgCookieSecure,
-                               $wgCookieHttpOnly ) ) . '"' );
        session_set_cookie_params(
                0, $wgCookiePath, $wgCookieDomain, $wgCookieSecure, $wgCookieHttpOnly );
        session_cache_limiter( 'private, must-revalidate' );