1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-22 07:20:11 +02:00

[ticket/10970] Removed unused $vars

PHPBB3-10970
This commit is contained in:
Fyorl 2012-08-10 13:42:38 +01:00
parent 003220dc7c
commit 02ccf392fa

View File

@ -375,7 +375,6 @@ class phpbb_template_filter extends php_user_filter
{
$matches = array();
$replace = array();
$vars = array();
$is_expr = true;
preg_match_all('#\{((?:' . self::REGEX_NS . '\.)*)(\$)?(' . self::REGEX_VAR . ')\}#', $path, $matches);
@ -384,7 +383,6 @@ class phpbb_template_filter extends php_user_filter
$tmp_is_expr = false;
$var = $this->get_varref($var_str, $tmp_is_expr);
$is_expr = $is_expr && $tmp_is_expr;
$vars[] = "isset($var)";
$replace[] = "' . $var . '";
}