diff options
author | Nathaniel Guse <nathaniel.guse@gmail.com> | 2013-07-14 12:18:44 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-23 09:25:58 -0500 |
commit | 0d31420ae099b9284c6240bfbda0f03f1be155c1 (patch) | |
tree | 1fb163ce951ded1c80246eba66ad8c978efb8fd8 /phpBB | |
parent | 6b0b0f2a9fdd2e2169534756e9ceb4421125c7ea (diff) | |
download | forums-0d31420ae099b9284c6240bfbda0f03f1be155c1.tar forums-0d31420ae099b9284c6240bfbda0f03f1be155c1.tar.gz forums-0d31420ae099b9284c6240bfbda0f03f1be155c1.tar.bz2 forums-0d31420ae099b9284c6240bfbda0f03f1be155c1.tar.xz forums-0d31420ae099b9284c6240bfbda0f03f1be155c1.zip |
[ticket/11701] Remove useless str_replace
PHPBB3-11701
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/template/twig/lexer.php | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/phpBB/phpbb/template/twig/lexer.php b/phpBB/phpbb/template/twig/lexer.php index 606ca347ae..3c072adff9 100644 --- a/phpBB/phpbb/template/twig/lexer.php +++ b/phpBB/phpbb/template/twig/lexer.php @@ -191,9 +191,6 @@ class phpbb_template_twig_lexer extends Twig_Lexer // Recursive...fix any child nodes $body = $parent_class->fix_begin_tokens($body, $parent_nodes); - // Rename loopname vars - $body = str_replace($name . '.', $name . '.', $body); - // Need the parent variable name array_pop($parent_nodes); $parent = (!empty($parent_nodes)) ? end($parent_nodes) . '.' : ''; |