diff options
author | brunoais <brunoaiss@gmail.com> | 2015-02-09 08:42:37 +0000 |
---|---|---|
committer | brunoais <brunoaiss@gmail.com> | 2015-02-09 08:42:37 +0000 |
commit | 8a4df90dac51a6232d9fccbd8ec1144cfabd83c0 (patch) | |
tree | 8ac2e7de795574c451ccbadeecbd598d72ecf2d2 /phpBB/phpbb | |
parent | 1bcce756337bb1db81da4f8f3e2f938578ab30b2 (diff) | |
download | forums-8a4df90dac51a6232d9fccbd8ec1144cfabd83c0.tar forums-8a4df90dac51a6232d9fccbd8ec1144cfabd83c0.tar.gz forums-8a4df90dac51a6232d9fccbd8ec1144cfabd83c0.tar.bz2 forums-8a4df90dac51a6232d9fccbd8ec1144cfabd83c0.tar.xz forums-8a4df90dac51a6232d9fccbd8ec1144cfabd83c0.zip |
[ticket/13592] Allow changing get_visibility_sql's result
PHPBB3-13592
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r-- | phpBB/phpbb/content_visibility.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php index 03ffc0ceaf..8db8bcc3be 100644 --- a/phpBB/phpbb/content_visibility.php +++ b/phpBB/phpbb/content_visibility.php @@ -148,10 +148,10 @@ class content_visibility /** * Allow changing the result of calling get_visibility_sql * - * @event core.phpbb_content_visibility_get_forums_visibility_before + * @event core.phpbb_content_get_visibility_sql_visibility_before * @var string where_sql Extra visibility conditions. It must end with either an SQL "AND" or an "OR" * @var string mode Either "topic" or "post" depending on the query this is being used in - * @var array forum_id The forum ids which the post/topic is from + * @var array forum_id The forum id in which the search is made. * @var string table_alias Table alias to prefix in SQL queries * @since 3.1.4-RC1 */ @@ -161,7 +161,7 @@ class content_visibility 'forum_id', 'table_alias', ); - extract($this->phpbb_dispatcher->trigger_event('core.phpbb_content_visibility_get_forums_visibility_before', compact($vars))); + extract($this->phpbb_dispatcher->trigger_event('core.phpbb_content_get_visibility_sql_visibility_before', compact($vars))); if ($this->auth->acl_get('m_approve', $forum_id)) { |