mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/13592] The name didn't make proper sense
PHPBB3-13592
This commit is contained in:
parent
74385b8fce
commit
bf20fb03ef
1 changed files with 2 additions and 2 deletions
|
@ -150,7 +150,7 @@ class content_visibility
|
||||||
/**
|
/**
|
||||||
* Allow changing the result of calling get_visibility_sql
|
* Allow changing the result of calling get_visibility_sql
|
||||||
*
|
*
|
||||||
* @event core.phpbb_content_get_visibility_sql_visibility_before
|
* @event core.phpbb_content_visibility_get_visibility_sql_before
|
||||||
* @var string where_sql Extra visibility conditions. It must end with either an SQL "AND" or an "OR"
|
* @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 string mode Either "topic" or "post" depending on the query this is being used in
|
||||||
* @var array forum_id The forum id in which the search is made.
|
* @var array forum_id The forum id in which the search is made.
|
||||||
|
@ -167,7 +167,7 @@ class content_visibility
|
||||||
'table_alias',
|
'table_alias',
|
||||||
'get_visibility_sql_overwrite',
|
'get_visibility_sql_overwrite',
|
||||||
);
|
);
|
||||||
extract($this->phpbb_dispatcher->trigger_event('core.phpbb_content_get_visibility_sql_visibility_before', compact($vars)));
|
extract($this->phpbb_dispatcher->trigger_event('core.phpbb_content_visibility_get_visibility_sql_before', compact($vars)));
|
||||||
|
|
||||||
if ($get_visibility_sql_overwrite !== false)
|
if ($get_visibility_sql_overwrite !== false)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue