mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
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:
commit
504158ceab
1 changed files with 0 additions and 6 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue