Bläddra i källkod

Merge remote branch 'pborreli/fix-twibundle'

* pborreli/fix-twibundle:
  [TwigBundle] Removed useless code
Fabien Potencier 14 år sedan
förälder
incheckning
960ae878b0
1 ändrade filer med 0 tillägg och 4 borttagningar
  1. 0 4
      src/Symfony/Bundle/TwigBundle/Extension/TemplatingExtension.php

+ 0 - 4
src/Symfony/Bundle/TwigBundle/Extension/TemplatingExtension.php

@@ -85,10 +85,6 @@ class TemplatingExtension extends \Twig_Extension
     {
         $options['attributes'] = $attributes;
 
-        if (isset($options['query'])) {
-            $options['query'] = $options['query'];
-        }
-
         return $this->container->get('http_kernel')->render($controller, $options);
     }