1
0
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:
Josh Woody
2010-06-20 15:01:26 -05:00
committed by Joas Schilling
parent 244f6e2ddc
commit c32d760806
9 changed files with 82 additions and 43 deletions

View File

@@ -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':