From: Alexandre Emsenhuber Date: Tue, 25 Mar 2014 18:41:18 +0000 (+0100) Subject: Remove wfDebugLog() call from wfSetupSession() X-Git-Tag: 1.31.0-rc.0~16502^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=9cfd31a708afc617837dc9830689cea8a224ebcd;p=lhc%2Fweb%2Fwiklou.git Remove wfDebugLog() call from wfSetupSession() 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 --- diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index f0b0a8da6d..2314cb208d 100644 --- a/includes/GlobalFunctions.php +++ b/includes/GlobalFunctions.php @@ -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' );