aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/viewforum.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-01-02 19:06:45 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-01-02 19:06:45 +0000
commita082635b76b6191eeb717ef5d00f0ca86d038a01 (patch)
treefab82b56b0defcbb6f04e4601013609fa4799e21 /phpBB/viewforum.php
parentcf54570f6c3ad03065df9ff18a57cac145305443 (diff)
downloadforums-a082635b76b6191eeb717ef5d00f0ca86d038a01.tar
forums-a082635b76b6191eeb717ef5d00f0ca86d038a01.tar.gz
forums-a082635b76b6191eeb717ef5d00f0ca86d038a01.tar.bz2
forums-a082635b76b6191eeb717ef5d00f0ca86d038a01.tar.xz
forums-a082635b76b6191eeb717ef5d00f0ca86d038a01.zip
...see if i am able to break the cookie tracking system this time. :D
- made some session code updates - added new acl function (might be helpful later) git-svn-id: file:///svn/phpbb/trunk@5038 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewforum.php')
-rw-r--r--phpBB/viewforum.php6
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&amp;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'] . '))';