diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index e3dcd3a37f..4c911da894 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -486,7 +486,7 @@ class session */ function session_create($user_id = false, $set_admin = false, $persist_login = false, $viewonline = true) { - global $SID, $_SID, $db, $config, $cache, $phpbb_container, $phpbb_dispatcher; + global $db, $config, $cache, $phpbb_container, $phpbb_dispatcher; $this->data = array(); @@ -697,8 +697,6 @@ class session $db->sql_query($sql); } - $SID = '?sid='; - $_SID = ''; return true; } else @@ -791,8 +789,6 @@ class session } // refresh data - $SID = '?sid=' . $this->session_id; - $_SID = $this->session_id; $this->data = array_merge($this->data, $sql_ary); if (!$bot) @@ -832,9 +828,6 @@ class session SET user_lastvisit = ' . (int) $this->data['session_time'] . ' WHERE user_id = ' . (int) $this->data['user_id']; $db->sql_query($sql); - - $SID = '?sid='; - $_SID = ''; } $session_data = $sql_ary;