diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-12-04 11:50:39 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2016-01-06 13:52:11 +0100 |
commit | 266576c6a4224f4b803040c678020e825a1510b5 (patch) | |
tree | c8fdfc8cce749be837a23d7a8288027f59865d60 /phpBB/includes/functions_display.php | |
parent | 6c25ad48224e71b080e04a79dfd47b711164e0f8 (diff) | |
download | forums-266576c6a4224f4b803040c678020e825a1510b5.tar forums-266576c6a4224f4b803040c678020e825a1510b5.tar.gz forums-266576c6a4224f4b803040c678020e825a1510b5.tar.bz2 forums-266576c6a4224f4b803040c678020e825a1510b5.tar.xz forums-266576c6a4224f4b803040c678020e825a1510b5.zip |
[ticket/13454] Remove unused variables
Part 4
PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_display.php')
-rw-r--r-- | phpBB/includes/functions_display.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php index e4df57265d..7eb800167b 100644 --- a/phpBB/includes/functions_display.php +++ b/phpBB/includes/functions_display.php @@ -731,7 +731,7 @@ function generate_forum_rules(&$forum_data) return; } - global $template, $phpbb_root_path, $phpEx; + global $template; if ($forum_data['forum_rules']) { @@ -751,7 +751,7 @@ function generate_forum_rules(&$forum_data) */ function generate_forum_nav(&$forum_data_ary) { - global $db, $user, $template, $auth, $config; + global $template, $auth, $config; global $phpEx, $phpbb_root_path, $phpbb_dispatcher; if (!$auth->acl_get('f_list', $forum_data_ary['forum_id'])) @@ -759,7 +759,7 @@ function generate_forum_nav(&$forum_data_ary) return; } - $navlinks = $navlinks_parents = $forum_template_data = array(); + $navlinks_parents = $forum_template_data = array(); // Get forum parents $forum_parents = get_forum_parents($forum_data_ary); |