aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2009-12-22 19:26:25 +0000
committerAndreas Fischer <bantu@phpbb.com>2009-12-22 19:26:25 +0000
commitcc43a909966e697a7a710c6efade1bcffc24db2e (patch)
treee2f6c385609f2efc508aa708657a22f12acb60e6 /phpBB/feed.php
parentAdd ability to disable overall (aka board-wide) feed. (diff)
downloadphpbb-cc43a909966e697a7a710c6efade1bcffc24db2e.tar.gz
phpbb-cc43a909966e697a7a710c6efade1bcffc24db2e.tar.bz2
phpbb-cc43a909966e697a7a710c6efade1bcffc24db2e.zip
Forgot to add this to the commit list.
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10364 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index 0ab7d42fce..f7349a21cf 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -388,8 +388,12 @@ class phpbb_feed_factory
{
return new phpbb_feed_forum($forum_id);
}
+ else if ($config['feed_overall'])
+ {
+ return new phpbb_feed_overall();
+ }
- return new phpbb_feed_overall();
+ return false;
break;
}
}