aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/ucp.php
diff options
context:
space:
mode:
authorOliver Schramm <oliver.schramm97@gmail.com>2014-04-06 23:12:20 +0200
committerOliver Schramm <oliver.schramm97@gmail.com>2014-04-06 23:49:20 +0200
commit1a56400a45e36bd68df8f9e72bc33c44079bd228 (patch)
treec65d11c25e72b53b00e3d02a7dd22a76778eb52c /phpBB/ucp.php
parentf0176b53934e78b830b890ef46c1e8e7c233bee4 (diff)
downloadforums-1a56400a45e36bd68df8f9e72bc33c44079bd228.tar
forums-1a56400a45e36bd68df8f9e72bc33c44079bd228.tar.gz
forums-1a56400a45e36bd68df8f9e72bc33c44079bd228.tar.bz2
forums-1a56400a45e36bd68df8f9e72bc33c44079bd228.tar.xz
forums-1a56400a45e36bd68df8f9e72bc33c44079bd228.zip
[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
Diffstat (limited to 'phpBB/ucp.php')
-rw-r--r--phpBB/ucp.php1
1 files changed, 0 insertions, 1 deletions
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)
{