aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2012-11-11 13:04:14 +0100
committerJoas Schilling <nickvergessen@gmx.de>2012-11-11 13:04:14 +0100
commitf2cb4e191139d0c7b6de9b06b2558ce14b881b90 (patch)
treede17deea480712c2ab9677da6ede0ab5ed9879df /phpBB/feed.php
parente86ecc0f3bd6383d31a670896720a970b8faaaa9 (diff)
downloadforums-f2cb4e191139d0c7b6de9b06b2558ce14b881b90.tar
forums-f2cb4e191139d0c7b6de9b06b2558ce14b881b90.tar.gz
forums-f2cb4e191139d0c7b6de9b06b2558ce14b881b90.tar.bz2
forums-f2cb4e191139d0c7b6de9b06b2558ce14b881b90.tar.xz
forums-f2cb4e191139d0c7b6de9b06b2558ce14b881b90.zip
[ticket/11077] Remove code from old global announcements system
PHPBB3-11077
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index 58ae251089..0dce22fb0c 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -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;
}