diff --git a/core/lib/Drupal/Core/Session/SessionManager.php b/core/lib/Drupal/Core/Session/SessionManager.php index 42a573589123204f4111a8f67771421b7cdda1e7..3eefd39477ae4a21b43b2e0a3871ab78b0cfe0fb 100644 --- a/core/lib/Drupal/Core/Session/SessionManager.php +++ b/core/lib/Drupal/Core/Session/SessionManager.php @@ -89,14 +89,6 @@ public function __construct(RequestStack $request_stack, Connection $connection, $this->connection = $connection; parent::__construct($options, $handler, $metadata_bag); - - // @todo When not using the Symfony Session object, the list of bags in the - // NativeSessionStorage will remain uninitialized. This will lead to - // errors in NativeSessionHandler::loadSession. Remove this after - // https://www.drupal.org/node/2229145, when we will be using the Symfony - // session object (which registers an attribute bag with the - // manager upon instantiation). - $this->bags = []; } /**