From fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Wed, 28 Oct 2015 12:29:46 +0100 Subject: [ticket/14261] Fix tests by removing old code. This will obselete GH-4007 PHPBB3-14261 PHPBB3-13202 --- phpBB/phpbb/session.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'phpBB/phpbb/session.php') diff --git a/phpBB/phpbb/session.php b/phpBB/phpbb/session.php index f9550b1a5e..999d9e58ad 100644 --- a/phpBB/phpbb/session.php +++ b/phpBB/phpbb/session.php @@ -1583,15 +1583,6 @@ class session $db->sql_return_on_error(false); - // If the database is not yet updated, there will be an error due to the session_forum_id - // @todo REMOVE for 3.0.2 - if ($result === false) - { - unset($sql_ary['session_forum_id']); - - $this->update_session($sql_ary); - } - if ($this->data['user_id'] != ANONYMOUS && !empty($config['new_member_post_limit']) && $this->data['user_new'] && $config['new_member_post_limit'] <= $this->data['user_posts']) { $this->leave_newly_registered(); -- cgit v1.2.1