From 07c990302c9bdcd98dfbc8d5db2cae764cc7aa6e Mon Sep 17 00:00:00 2001 From: Andreas Fischer Date: Sat, 12 Dec 2009 21:27:05 +0000 Subject: [PATCH] We don't need this anymore. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10327 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/feed.php | 8 -------- 1 file changed, 8 deletions(-) diff --git a/phpBB/feed.php b/phpBB/feed.php index 26bfbb0d51..960ada589e 100644 --- a/phpBB/feed.php +++ b/phpBB/feed.php @@ -816,14 +816,6 @@ class phpbb_feed extends phpbb_feed_base // Fetch last posts from specified topic... else if ($this->topic_id) { - // First of all, determine the forum... - $sql = 'SELECT forum_id - FROM ' . TOPICS_TABLE . ' - WHERE topic_id = ' . $this->topic_id; - $result = $db->sql_query_limit($sql, 1); - $this->forum_id = (int) $db->sql_fetchfield('forum_id'); - $db->sql_freeresult($result); - // non-global announcement if ($this->forum_id && in_array($this->forum_id, $this->excluded_forums())) {