diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-10-28 12:29:46 +0100 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-10-28 12:32:24 +0100 |
commit | fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893 (patch) | |
tree | 3b8eeff301929ba33e4efa00e1f8cbde75560fcb /phpBB/phpbb/session.php | |
parent | 88dd8a4849915b3b5962118885b574a37e596a00 (diff) | |
download | forums-fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893.tar forums-fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893.tar.gz forums-fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893.tar.bz2 forums-fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893.tar.xz forums-fbacd1df16dfe15bb4aa2d69d9c743e7a5e7b893.zip |
[ticket/14261] Fix tests by removing old code.
This will obselete GH-4007
PHPBB3-14261
PHPBB3-13202
Diffstat (limited to 'phpBB/phpbb/session.php')
-rw-r--r-- | phpBB/phpbb/session.php | 9 |
1 files changed, 0 insertions, 9 deletions
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(); |