From 1a56400a45e36bd68df8f9e72bc33c44079bd228 Mon Sep 17 00:00:00 2001 From: Oliver Schramm Date: Sun, 6 Apr 2014 23:12:20 +0200 Subject: [PATCH] [ticket/12360] Fix duplicated creation of session when logging out the user In 7d8b578 this line was introduced to fix a bug with style.php. Later since 1d42d1b a new session is always created after killing the old one. This causes a duplicated creation of the session everytime the user logs itself out. PHPBB3-12360 --- phpBB/ucp.php | 1 - 1 file changed, 1 deletion(-) diff --git a/phpBB/ucp.php b/phpBB/ucp.php index 8c773886a6..eaa40a07a2 100644 --- a/phpBB/ucp.php +++ b/phpBB/ucp.php @@ -94,7 +94,6 @@ switch ($mode) if ($user->data['user_id'] != ANONYMOUS && $request->is_set('sid') && $request->variable('sid', '') === $user->session_id) { $user->session_kill(); - $user->session_begin(); } else if ($user->data['user_id'] != ANONYMOUS) {