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.
Part of #2047951: [META] Remove calls to deprecated global $user and $GLOBALS['user']
Remove all entries:
core/modules/user/lib/Drupal/user/Access/LoginStatusCheck.php: return (bool) $GLOBALS['user']->id();
Comment | File | Size | Author |
---|---|---|---|
#1 | user-LoginStatusCheck-remove-global-user-2078419-1.patch | 616 bytes | m1r1k |
Comments
Comment #1
m1r1k CreditAttribution: m1r1k commentedHere is a patch
Comment #3
m1r1k CreditAttribution: m1r1k commentedThat means current patch also depends on #2076411: Remove the request scope from the current user service
Comment #4
mgiffordNo longer a barrier.
Comment #5
m1r1k CreditAttribution: m1r1k commentedWell, $_GLOBAL['user'] was removed already.
Comment #6
patrickd CreditAttribution: patrickd commentedcorrecting amsterdam tag (No space)
Comment #7
mgiffordExcellent.. I was trying to clean up the issue queue. Postponed issues had been ignored.