diff options
author | Andreas Fischer <bantu@phpbb.com> | 2009-12-12 21:27:05 +0000 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2009-12-12 21:27:05 +0000 |
commit | 07c990302c9bdcd98dfbc8d5db2cae764cc7aa6e (patch) | |
tree | f29f8aa486ba9cc96bdf72a3b86d0d1c17c3ab96 /phpBB/feed.php | |
parent | IE6 must die, thanks Raimon. #54115 (diff) | |
download | phpbb-07c990302c9bdcd98dfbc8d5db2cae764cc7aa6e.tar.gz phpbb-07c990302c9bdcd98dfbc8d5db2cae764cc7aa6e.tar.bz2 phpbb-07c990302c9bdcd98dfbc8d5db2cae764cc7aa6e.zip |
We don't need this anymore.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10327 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r-- | phpBB/feed.php | 8 |
1 files changed, 0 insertions, 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())) { |