mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-28 18:49:52 +02:00
[feature/soft-delete] Rename phpbb_visibility class to phpbb_content_visibility
Rename the class to more accurately reflect what it does. PHPBB3-9657
This commit is contained in:
committed by
Joas Schilling
parent
6739375135
commit
a80cfafdd9
@@ -241,7 +241,7 @@ if ($sort_days)
|
||||
AND (topic_last_post_time >= $min_post_time
|
||||
OR topic_type = " . POST_ANNOUNCE . '
|
||||
OR topic_type = ' . POST_GLOBAL . ')
|
||||
AND ' . phpbb_visibility::get_visibility_sql('topic', $forum_id);
|
||||
AND ' . phpbb_content_visibility::get_visibility_sql('topic', $forum_id);
|
||||
$result = $db->sql_query($sql);
|
||||
$topics_count = (int) $db->sql_fetchfield('num_topics');
|
||||
$db->sql_freeresult($result);
|
||||
@@ -353,7 +353,7 @@ $sql_array = array(
|
||||
'LEFT_JOIN' => array(),
|
||||
);
|
||||
|
||||
$sql_approved = 'AND ' . phpbb_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
$sql_approved = 'AND ' . phpbb_content_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
|
||||
if ($user->data['is_registered'])
|
||||
{
|
||||
|
Reference in New Issue
Block a user