aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/feed.php
diff options
context:
space:
mode:
authorJosh Woody <a_jelly_doughnut@phpbb.com>2010-06-30 13:38:49 -0500
committerJoas Schilling <nickvergessen@gmx.de>2012-08-29 17:50:11 +0200
commita80cfafdd91a384ba810a8ee0d43406bba955faa (patch)
tree0c00c9e50e65e8e6af11494c63645d916bd38216 /phpBB/feed.php
parent67393751356e9f02f7c1ab0a2f7a3a508403edc3 (diff)
downloadforums-a80cfafdd91a384ba810a8ee0d43406bba955faa.tar
forums-a80cfafdd91a384ba810a8ee0d43406bba955faa.tar.gz
forums-a80cfafdd91a384ba810a8ee0d43406bba955faa.tar.bz2
forums-a80cfafdd91a384ba810a8ee0d43406bba955faa.tar.xz
forums-a80cfafdd91a384ba810a8ee0d43406bba955faa.zip
[feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibility
Rename the class to more accurately reflect what it does. PHPBB3-9657
Diffstat (limited to 'phpBB/feed.php')
-rw-r--r--phpBB/feed.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/feed.php b/phpBB/feed.php
index 89ee5a3bbe..79fedbf575 100644
--- a/phpBB/feed.php
+++ b/phpBB/feed.php
@@ -760,7 +760,7 @@ class phpbb_feed_overall extends phpbb_feed_post_base
FROM ' . TOPICS_TABLE . '
WHERE ' . $db->sql_in_set('forum_id', $forum_ids) . '
AND topic_moved_id = 0
- AND ' . phpbb_visibility::get_visibility_sql_global('topic') . '
+ AND ' . phpbb_content_visibility::get_visibility_sql_global('topic') . '
ORDER BY topic_last_post_time DESC';
$result = $db->sql_query_limit($sql, $this->num_items);
@@ -795,7 +795,7 @@ class phpbb_feed_overall extends phpbb_feed_post_base
),
),
'WHERE' => $db->sql_in_set('p.topic_id', $topic_ids) . '
- AND ' . phpbb_visibility::get_visibility_sql('post', array(), 'p.') . '
+ AND ' . phpbb_content_visibility::get_visibility_sql('post', array(), 'p.') . '
AND p.post_time >= ' . $min_post_time . '
AND u.user_id = p.poster_id',
'ORDER_BY' => 'p.post_time DESC',
@@ -892,7 +892,7 @@ class phpbb_feed_forum extends phpbb_feed_post_base
FROM ' . TOPICS_TABLE . '
WHERE forum_id = ' . $this->forum_id . '
AND topic_moved_id = 0
- AND ' . phpbb_visibility::get_visibility_sql('topic', $this->forum_id) . '
+ AND ' . phpbb_content_visibility::get_visibility_sql('topic', $this->forum_id) . '
ORDER BY topic_last_post_time DESC';
$result = $db->sql_query_limit($sql, $this->num_items);
@@ -919,7 +919,7 @@ class phpbb_feed_forum extends phpbb_feed_post_base
USERS_TABLE => 'u',
),
'WHERE' => $db->sql_in_set('p.topic_id', $topic_ids) . '
- AND ' . phpbb_visibility::get_visibility_sql('post', $this->forum_id, 'p.') . '
+ AND ' . phpbb_content_visibility::get_visibility_sql('post', $this->forum_id, 'p.') . '
AND p.post_time >= ' . $min_post_time . '
AND p.poster_id = u.user_id',
'ORDER_BY' => 'p.post_time DESC',
@@ -1025,7 +1025,7 @@ class phpbb_feed_topic extends phpbb_feed_post_base
USERS_TABLE => 'u',
),
'WHERE' => 'p.topic_id = ' . $this->topic_id . '
- AND ' . phpbb_visibility::get_visibility_sql('post', $this->forum_id, 'p.') . '
+ AND ' . phpbb_content_visibility::get_visibility_sql('post', $this->forum_id, 'p.') . '
AND p.poster_id = u.user_id',
'ORDER_BY' => 'p.post_time DESC',
);