diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-21 16:57:35 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-05-21 16:57:35 +0000 |
commit | ece05980275f9cba2f6235023b487b002f1c90d0 (patch) | |
tree | df4537f9a4a5d50ea6e7adf6d9575e4dc4fcc0d6 /phpBB/viewtopic.php | |
parent | 530b7e94c5e10eb1b9aa2ea488825265b685651e (diff) | |
download | forums-ece05980275f9cba2f6235023b487b002f1c90d0.tar forums-ece05980275f9cba2f6235023b487b002f1c90d0.tar.gz forums-ece05980275f9cba2f6235023b487b002f1c90d0.tar.bz2 forums-ece05980275f9cba2f6235023b487b002f1c90d0.tar.xz forums-ece05980275f9cba2f6235023b487b002f1c90d0.zip |
no longer needed because we handle shadow topics as "always read" (not to be misreaded as "original topic")
git-svn-id: file:///svn/phpbb/trunk@5958 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/viewtopic.php')
-rw-r--r-- | phpBB/viewtopic.php | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/phpBB/viewtopic.php b/phpBB/viewtopic.php index a2557223f5..f199bd888e 100644 --- a/phpBB/viewtopic.php +++ b/phpBB/viewtopic.php @@ -251,7 +251,6 @@ if ($post_id) $topic_data['prev_posts'] = $row['prev_posts']; } -$old_forum_id = $forum_id; $forum_id = (int) $topic_data['forum_id']; $topic_id = (int) $topic_data['topic_id']; @@ -1423,12 +1422,6 @@ if (isset($user->data['session_page']) && !preg_match("#&t=$topic_id#", $user->d if (isset($topic_tracking_info[$topic_id]) && $topic_data['topic_last_post_time'] > $topic_tracking_info[$topic_id]) { markread('topic', $forum_id, $topic_id, $max_post_time); - - // The topic has two different forum_id numbers, we have to update the other forum - if ($old_forum_id !== $forum_id) - { - markread('topic', $old_forum_id, $topic_id, $max_post_time); - } } // Change encoding if appropriate |