mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[feature/soft-delete] I told you I was going to rename the class!
Rename topic_visibility class to phpbb_visibility. Also a bit of work to the class itself, mostly cleanup and adding the comments that I'd previously written. PHPBB3-9657
This commit is contained in:
committed by
Joas Schilling
parent
244f6e2ddc
commit
c32d760806
@@ -87,7 +87,7 @@ switch ($mode)
|
||||
FROM ' . TOPICS_TABLE . ' t, ' . FORUMS_TABLE . " f
|
||||
WHERE t.topic_id = $topic_id
|
||||
AND f.forum_id = t.forum_id
|
||||
AND " . topic_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
AND " . phpbb_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
break;
|
||||
|
||||
case 'quote':
|
||||
@@ -115,7 +115,7 @@ switch ($mode)
|
||||
AND t.topic_id = p.topic_id
|
||||
AND u.user_id = p.poster_id
|
||||
AND f.forum_id = t.forum_id
|
||||
AND " . topic_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
AND " . phpbb_visibility::get_visibility_sql('topic', $forum_id, 't.');
|
||||
break;
|
||||
|
||||
case 'smilies':
|
||||
|
Reference in New Issue
Block a user