Merge remote-tracking branch 'nickvergessen/ticket/11077' into develop

* nickvergessen/ticket/11077:
  [ticket/11077] Remove code from old global announcements system
This commit is contained in:
Andreas Fischer 2012-11-11 13:59:11 +01:00
commit 504158ceab

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;
}