aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/posting.php
diff options
context:
space:
mode:
authorJosh Woody <a_jelly_doughnut@phpbb.com>2010-06-20 15:01:26 -0500
committerJoas Schilling <nickvergessen@gmx.de>2012-08-29 17:49:38 +0200
commitc32d76080605f843bb23e9a608c368d4b5dc55d8 (patch)
treed179da9973265432acf4c5ab11eefc5229653b65 /phpBB/posting.php
parent244f6e2ddc7818125edc273be1d83a5298ce6589 (diff)
downloadforums-c32d76080605f843bb23e9a608c368d4b5dc55d8.tar
forums-c32d76080605f843bb23e9a608c368d4b5dc55d8.tar.gz
forums-c32d76080605f843bb23e9a608c368d4b5dc55d8.tar.bz2
forums-c32d76080605f843bb23e9a608c368d4b5dc55d8.tar.xz
forums-c32d76080605f843bb23e9a608c368d4b5dc55d8.zip
[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
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r--phpBB/posting.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php
index 273499c1e4..30b897c068 100644
--- a/phpBB/posting.php
+++ b/phpBB/posting.php
@@ -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':