aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_acp.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-12-03 18:19:02 +0100
committerMarc Alexander <admin@m-a-styles.de>2016-01-06 13:52:11 +0100
commitf50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9 (patch)
tree74e7b2e89c84cfa3d16c18be10afd99fd6af245c /phpBB/includes/functions_acp.php
parent73e6e5b77faadbb7676961bf38122d669de111db (diff)
downloadforums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.gz
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.bz2
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.tar.xz
forums-f50ba9ab4f6e74e4d472c9e2012dfdd29720dfe9.zip
[ticket/13454] Remove unused variables
This is part 2 of the pr. PHPBB3-13454
Diffstat (limited to 'phpBB/includes/functions_acp.php')
-rw-r--r--phpBB/includes/functions_acp.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/phpBB/includes/functions_acp.php b/phpBB/includes/functions_acp.php
index b0b5074480..19548f59d2 100644
--- a/phpBB/includes/functions_acp.php
+++ b/phpBB/includes/functions_acp.php
@@ -273,7 +273,7 @@ function build_cfg_template($tpl_type, $key, &$new_ary, $config_key, $vars)
break;
case 'number':
- $min = $max = $maxlength = '';
+ $max = $maxlength = '';
$min = ( isset($tpl_type[1]) ) ? (int) $tpl_type[1] : false;
if ( isset($tpl_type[2]) )
{
@@ -285,7 +285,7 @@ function build_cfg_template($tpl_type, $key, &$new_ary, $config_key, $vars)
break;
case 'dimension':
- $min = $max = $maxlength = $size = '';
+ $max = $maxlength = $size = '';
$min = (int) $tpl_type[1];
@@ -321,8 +321,6 @@ function build_cfg_template($tpl_type, $key, &$new_ary, $config_key, $vars)
case 'select':
case 'custom':
- $return = '';
-
if (isset($vars['method']))
{
$call = array($module->module, $vars['method']);