Permalink
Browse files

bug #24979 [HttpKernel] remove services resetter even when it's an al…

…ias (xabbuh)

This PR was merged into the 3.4 branch.

Discussion
----------

[HttpKernel] remove services resetter even when it's an alias

| Q             | A
| ------------- | ---
| Branch?       | 3.4
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

All the other places in the compiler pass do not care whether the
resetter service is aliased or not. Let's just also properly deal with
the case that the services resetter service was aliased by another
bundle.

Commits
-------

f7e634b remove services resetter even when it's an alias
  • Loading branch information...
nicolas-grekas committed Nov 16, 2017
2 parents a2f8c32 + f7e634b commit 4fadbcdc58b6eba5c10c442619144134f81cb4d2
@@ -53,6 +53,7 @@ public function process(ContainerBuilder $container)
}
if (empty($services)) {
$container->removeAlias('services_resetter');
$container->removeDefinition('services_resetter');
return;

0 comments on commit 4fadbcd

Please sign in to comment.