Explorar el Código

[FrameworkBundle] removed obsolete code

Fabien Potencier hace 14 años
padre
commit
45edfe6b44

+ 0 - 5
src/Symfony/Bundle/FrameworkBundle/DependencyInjection/SecurityExtension.php

@@ -161,11 +161,6 @@ class SecurityExtension extends Extension
 
 
             $map->addMethodCall('add', array($matcher, $listeners, $exceptionListener));
             $map->addMethodCall('add', array($matcher, $listeners, $exceptionListener));
         }
         }
-
-        // remove all service templates
-        foreach ($c->getServiceIds() as $id) {
-            $container->remove($id);
-        }
     }
     }
 
 
     protected function createFirewall(ContainerBuilder $container, $firewall, $providerIds)
     protected function createFirewall(ContainerBuilder $container, $firewall, $providerIds)