Skip to content
Snippets Groups Projects
Commit e4802afe authored by Alex Pott's avatar Alex Pott
Browse files

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

parent 4e3ee43e
No related branches found
No related tags found
No related merge requests found
......@@ -217,8 +217,6 @@ services:
container.namespaces:
class: ArrayObject
arguments: [ '%container.namespaces%' ]
tags:
- { name: persist }
container.trait:
abstract: true
calls:
......
......@@ -426,13 +426,6 @@ protected function initializeContainer() {
$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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment