Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
drupal
Commits
64aa5fa9
Commit
64aa5fa9
authored
Apr 01, 2021
by
catch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#3206358
by longwave, RenatoG: Remove bag initialization in SessionManager
parent
6e84b579
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
core/lib/Drupal/Core/Session/SessionManager.php
core/lib/Drupal/Core/Session/SessionManager.php
+0
-8
No files found.
core/lib/Drupal/Core/Session/SessionManager.php
View file @
64aa5fa9
...
...
@@ -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
=
[];
}
/**
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment