From 9cfd31a708afc617837dc9830689cea8a224ebcd Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Tue, 25 Mar 2014 19:41:18 +0100 Subject: [PATCH] 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 --- includes/GlobalFunctions.php | 8 -------- 1 file changed, 8 deletions(-) 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' ); -- 2.20.1