1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-22 11:09:27 +02:00

[ticket/14261] Fix tests by removing old code.

This will obselete GH-4007

PHPBB3-14261
PHPBB3-13202
This commit is contained in:
Zoddo
2015-10-28 12:29:46 +01:00
parent 88dd8a4849
commit fbacd1df16

View File

@ -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();