1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-21 00:02:18 +02:00

[ticket/11077] Remove code from old global announcements system

PHPBB3-11077
This commit is contained in:
Joas Schilling 2012-11-11 13:04:14 +01:00
parent e86ecc0f3b
commit f2cb4e1911

View File

@ -555,12 +555,6 @@ class phpbb_feed_base
$forum_ids = array_flip($this->get_moderator_approve_forums());
}
if (!$forum_id)
{
// Global announcement, your a moderator in any forum than it's okay.
return (!empty($forum_ids)) ? true : false;
}
return (isset($forum_ids[$forum_id])) ? true : false;
}