Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Now that Symfony sessions are in place and available from $request->getSession()</span>, core should be updated that it uses that instead of accessing <code>$_SESSION
directly.
This issue is was extracted from #2473875: Convert uses of $_SESSION to symfony session retrieved from the request to improve reviewability.
Proposed resolution
Remaining tasks
User interface changes
None
API changes
None
Comment | File | Size | Author |
---|---|---|---|
#4 | 3109042-5.diff | 14.63 KB | znerol |
#4 | interdiff-5.txt | 7.57 KB | znerol |
Comments
Comment #2
znerol CreditAttribution: znerol commentedComment #4
znerol CreditAttribution: znerol commentedSome hunks transferred from patch in #2473875: Convert uses of $_SESSION to symfony session retrieved from the request.
Comment #5
andypostLooks it covers all related places
Comment #6
alexpottCommitted and pushed 5b023333eb to 9.0.x and d251008c0d to 8.9.x. Thanks!