mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-09 04:48:53 +00:00
We don't need this anymore.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10327 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
5bdb6b733c
commit
07c990302c
1 changed files with 0 additions and 8 deletions
|
@ -816,14 +816,6 @@ class phpbb_feed extends phpbb_feed_base
|
||||||
// Fetch last posts from specified topic...
|
// Fetch last posts from specified topic...
|
||||||
else if ($this->topic_id)
|
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
|
// non-global announcement
|
||||||
if ($this->forum_id && in_array($this->forum_id, $this->excluded_forums()))
|
if ($this->forum_id && in_array($this->forum_id, $this->excluded_forums()))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue