Browse Source

[TwigBundle] removed obsolete code

Fabien Potencier 14 years ago
parent
commit
6180b6aeb5
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/Symfony/Bridge/Twig/Extension/FormExtension.php

+ 0 - 7
src/Symfony/Bridge/Twig/Extension/FormExtension.php

@@ -174,13 +174,6 @@ class FormExtension extends \Twig_Extension
         throw new FormException(sprintf('Unable to render form as none of the following blocks exist: "%s".', implode('", "', $blocks)));
     }
 
-    protected function getTemplate(FormView $view, $name)
-    {
-        $templates = $this->getTemplates($view);
-
-        return $templates[$name];
-    }
-
     protected function getTemplates(FormView $view)
     {
         // templates are looked for in the following resources: