diff options
Diffstat (limited to 'phpBB/viewforum.php')
| -rw-r--r-- | phpBB/viewforum.php | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/viewforum.php b/phpBB/viewforum.php index 7b219f8490..cba25c1b85 100644 --- a/phpBB/viewforum.php +++ b/phpBB/viewforum.php @@ -69,12 +69,6 @@ else $sql_lastread = $lastread_select = ''; $tracking_topics = (isset($_COOKIE[$config['cookie_name'] . '_track'])) ? unserialize(stripslashes($_COOKIE[$config['cookie_name'] . '_track'])) : array(); - - if (!isset($tracking_topics[$forum_id]) && $user->data['user_id'] != ANONYMOUS) - { - markread('mark', $forum_id); - redirect("viewforum.$phpEx$SID&f=$forum_id"); - } } $sql_from = ($sql_lastread) ? '((' . FORUMS_TABLE . ' f LEFT JOIN ' . FORUMS_WATCH_TABLE . ' fw ON (fw.forum_id = f.forum_id AND fw.user_id = ' . $user->data['user_id'] . ")) $sql_lastread)" : '(' . FORUMS_TABLE . ' f LEFT JOIN ' . FORUMS_WATCH_TABLE . ' fw ON (fw.forum_id = f.forum_id AND fw.user_id = ' . $user->data['user_id'] . '))'; |
