Issue #2277481 by znerol: Remove persist flag from container.namespaces service.

8.0.x
Alex Pott 2014-06-13 11:55:19 +01:00
parent 4e3ee43e76
commit e4802afef9
2 changed files with 0 additions and 9 deletions

View File

@ -217,8 +217,6 @@ services:
container.namespaces:
class: ArrayObject
arguments: [ '%container.namespaces%' ]
tags:
- { name: persist }
container.trait:
abstract: true
calls:

View File

@ -426,13 +426,6 @@ class DrupalKernel implements DrupalKernelInterface, TerminableInterface {
$this->container = $this->buildContainer();
$this->persistServices($persist);
// The namespaces are marked as persistent, so objects like the annotated
// class discovery still has the right object. We may have updated the
// list of modules, so set it.
if ($this->container->initialized('container.namespaces')) {
$this->container->get('container.namespaces')->exchangeArray($this->container->getParameter('container.namespaces'));
}
if ($this->allowDumping) {
$this->containerNeedsDumping = TRUE;
}