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();

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

m1r1k’s picture

Status: Active » Needs review
FileSize
616 bytes

Here is a patch

Status: Needs review » Needs work

The last submitted patch, user-LoginStatusCheck-remove-global-user-2078419-1.patch, failed testing.

m1r1k’s picture

Status: Needs work » Postponed
mgifford’s picture

Issue summary: View changes
Status: Postponed » Needs work
Related issues: +#2076411: Remove the request scope from the current user service

No longer a barrier.

m1r1k’s picture

Assigned: m1r1k » Unassigned
Status: Needs work » Fixed
Issue tags: +Amsterdam 2014

Well, $_GLOBAL['user'] was removed already.

patrickd’s picture

Issue tags: -Amsterdam 2014 +Amsterdam2014

correcting amsterdam tag (No space)

mgifford’s picture

Excellent.. I was trying to clean up the issue queue. Postponed issues had been ignored.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.