mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-10 19:56:52 +02: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:
@ -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()))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user