aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-07-13 10:47:42 -0400
committerJoas Schilling <nickvergessen@gmx.de>2013-07-13 10:47:42 -0400
commit6cde302ffaf9d238e279704955a5c00ee0bdfd36 (patch)
tree2805e4c411acabfa2a18a23c10aa58dc42d94425
parent8352a7cadab7e16eb8eac29d869e06864acb1a93 (diff)
downloadforums-6cde302ffaf9d238e279704955a5c00ee0bdfd36.tar
forums-6cde302ffaf9d238e279704955a5c00ee0bdfd36.tar.gz
forums-6cde302ffaf9d238e279704955a5c00ee0bdfd36.tar.bz2
forums-6cde302ffaf9d238e279704955a5c00ee0bdfd36.tar.xz
forums-6cde302ffaf9d238e279704955a5c00ee0bdfd36.zip
[ticket/9657] Remove old code
PHPBB3-9657
-rw-r--r--phpBB/includes/feed/forum.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/phpBB/includes/feed/forum.php b/phpBB/includes/feed/forum.php
index 4a159ff3d4..b5f0dd0f8f 100644
--- a/phpBB/includes/feed/forum.php
+++ b/phpBB/includes/feed/forum.php
@@ -122,7 +122,6 @@ class phpbb_feed_forum extends phpbb_feed_post_base
USERS_TABLE => 'u',
),
'WHERE' => $this->db->sql_in_set('p.topic_id', $topic_ids) . '
- ' . (($sql_visibility) ? ' AND ' . $sql_visibility : '') . '
AND ' . $this->content_visibility->get_visibility_sql('post', $this->forum_id, 'p.') . '
AND p.post_time >= ' . $min_post_time . '
AND p.poster_id = u.user_id',