aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_convert.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-05 16:07:14 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit73900d1857a9a59eff82b224537a79110466ce7e (patch)
treeda350891e10a0df0590ec9ada0c41f6458dbd5a7 /phpBB/includes/functions_convert.php
parent3b9a9bb04a526c09d7a726fde90805681e581e0f (diff)
downloadforums-73900d1857a9a59eff82b224537a79110466ce7e.tar
forums-73900d1857a9a59eff82b224537a79110466ce7e.tar.gz
forums-73900d1857a9a59eff82b224537a79110466ce7e.tar.bz2
forums-73900d1857a9a59eff82b224537a79110466ce7e.tar.xz
forums-73900d1857a9a59eff82b224537a79110466ce7e.zip
[ticket/13454] Remove more unused variables
This should be the last part. Off to checking if the changes were correct. PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_convert.php')
-rw-r--r--phpBB/includes/functions_convert.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_convert.php b/phpBB/includes/functions_convert.php
index 39d377af68..96e125f2e8 100644
--- a/phpBB/includes/functions_convert.php
+++ b/phpBB/includes/functions_convert.php
@@ -1320,7 +1320,7 @@ function restore_config($schema)
*/
function update_folder_pm_count()
{
- global $db, $convert, $user;
+ global $db;
$sql = 'SELECT user_id, folder_id, COUNT(msg_id) as num_messages
FROM ' . PRIVMSGS_TO_TABLE . '
@@ -1379,7 +1379,7 @@ function extract_variables_from_file($_filename)
function get_path($src_path, $src_url, $test_file)
{
- global $config, $phpbb_root_path, $phpEx;
+ global $phpbb_root_path, $phpEx;
$board_config = get_config();
@@ -1490,7 +1490,7 @@ function compare_table($tables, $tablename, &$prefixes)
*/
function mass_auth($ug_type, $forum_id, $ug_id, $acl_list, $setting = ACL_NO)
{
- global $db, $convert, $user, $config;
+ global $db;
static $acl_option_ids, $group_ids;
if (($ug_type == 'group' || $ug_type == 'group_role') && is_string($ug_id))