mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/11701] Remove useless str_replace
PHPBB3-11701
This commit is contained in:
committed by
Nathan Guse
parent
6b0b0f2a9f
commit
0d31420ae0
@@ -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) . '.' : '';
|
||||
|
Reference in New Issue
Block a user