aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2015-01-10 17:15:22 +0000
committerbrunoais <brunoaiss@gmail.com>2015-01-10 17:15:22 +0000
commitef9abd7165f67abea74243a72aefb806d7b9be7a (patch)
tree8a2803f44e7fdb26402d5a2813a765f8153a77bc /phpBB/phpbb
parent8ed5a047ecfd4ad3b8f87e2adcff577015e6470a (diff)
downloadforums-ef9abd7165f67abea74243a72aefb806d7b9be7a.tar
forums-ef9abd7165f67abea74243a72aefb806d7b9be7a.tar.gz
forums-ef9abd7165f67abea74243a72aefb806d7b9be7a.tar.bz2
forums-ef9abd7165f67abea74243a72aefb806d7b9be7a.tar.xz
forums-ef9abd7165f67abea74243a72aefb806d7b9be7a.zip
[ticket/13147] Override variable name changed by request
PHPBB3-13147
Diffstat (limited to 'phpBB/phpbb')
-rw-r--r--phpBB/phpbb/content_visibility.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/phpbb/content_visibility.php b/phpBB/phpbb/content_visibility.php
index 06f2975fb9..58becf33d9 100644
--- a/phpBB/phpbb/content_visibility.php
+++ b/phpBB/phpbb/content_visibility.php
@@ -244,7 +244,7 @@ class content_visibility
$approve_forums = array_diff(array_keys($this->auth->acl_getf('m_approve', true)), $exclude_forum_ids);
- $get_global_visibility_sql_overwrite = null;
+ $visibility_sql_overwrite = null;
/**
* Allow changing the result of calling get_global_visibility_sql
*
@@ -254,7 +254,7 @@ class content_visibility
* @var array forum_ids Array of forum ids which the posts/topics are limited to
* @var string table_alias Table alias to prefix in SQL queries
* @var array approve_forums Array of forums where the user has m_approve permissions
- * @var string get_global_visibility_sql_overwrite Forces the function to return an implosion of where_sqls (joined by "OR")
+ * @var string visibility_sql_overwrite Forces the function to return an implosion of where_sqls (joined by "OR")
* @since 3.1.3-RC1
*/
$vars = array(
@@ -263,13 +263,13 @@ class content_visibility
'forum_ids',
'table_alias',
'approve_forums',
- 'get_global_visibility_sql_overwrite',
+ 'visibility_sql_overwrite',
);
extract($this->phpbb_dispatcher->trigger_event('core.phpbb_content_visibility_get_global_visibility_before', compact($vars)));
- if ($get_global_visibility_sql_overwrite)
+ if ($visibility_sql_overwrite)
{
- return $get_global_visibility_sql_overwrite;
+ return $visibility_sql_overwrite;
}
if (sizeof($exclude_forum_ids))