From b034e6545d2a1a1c1b84d736c41a6531fb65e10f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Fri, 1 Oct 2010 20:34:31 +0200 Subject: [PATCH] fixed typo --- lib/Twig/Node/Expression/ExtensionReference.php | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/lib/Twig/Node/Expression/ExtensionReference.php b/lib/Twig/Node/Expression/ExtensionReference.php index bef9da7..3a65d07 100644 --- a/lib/Twig/Node/Expression/ExtensionReference.php +++ b/lib/Twig/Node/Expression/ExtensionReference.php @@ -30,9 +30,6 @@ class Twig_Node_Expression_ExtensionReference extends Twig_Node_Expression */ public function compile($compiler) { - $compiler - ->addDebugInfo($this) - ->raw(sprintf("\$this->env->getExtension('%s')", $this['name'])) - ; + $compiler->raw(sprintf("\$this->env->getExtension('%s')", $this['name'])); } } -- 1.7.2.5