aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_module.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-04 11:50:39 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commit266576c6a4224f4b803040c678020e825a1510b5 (patch)
treec8fdfc8cce749be837a23d7a8288027f59865d60 /phpBB/includes/functions_module.php
parent6c25ad48224e71b080e04a79dfd47b711164e0f8 (diff)
downloadforums-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_module.php')
-rw-r--r--phpBB/includes/functions_module.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_module.php b/phpBB/includes/functions_module.php
index 2e715d5e87..7a1991d69a 100644
--- a/phpBB/includes/functions_module.php
+++ b/phpBB/includes/functions_module.php
@@ -729,8 +729,6 @@ class p_master
*/
function get_parents($parent_id, $left_id, $right_id, &$all_parents)
{
- global $db;
-
$parents = array();
if ($parent_id > 0)
@@ -822,7 +820,7 @@ class p_master
// Make sure the module_url has a question mark set, effectively determining the delimiter to use
$delim = (strpos($module_url, '?') === false) ? '?' : '&amp;';
- $current_padding = $current_depth = 0;
+ $current_depth = 0;
$linear_offset = 'l_block1';
$tabular_offset = 't_block2';