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.
#2047951: [META] Remove calls to deprecated global $user and $GLOBALS['user']
remove:
function _toolbar_get_subtree_hash() {
global $user;
Comments
Comment #1
orb CreditAttribution: orb commentedComment #2
orb CreditAttribution: orb commentedfix
Comment #3
orb CreditAttribution: orb commentedsorry, wrong file
Comment #4
orb CreditAttribution: orb commentedfix
Comment #5
orb CreditAttribution: orb commentedDelete \ for function
Comment #7
orb CreditAttribution: orb commentedFix - delete $acconut
Comment #8
orb CreditAttribution: orb commentedFix $user
Comment #10
orb CreditAttribution: orb commentedIssue #2062151: Create a current user service to ensure that current account is always available
Comment #11
orb CreditAttribution: orb commentedComment #12
sergeypavlenko CreditAttribution: sergeypavlenko commentedNice.
Comment #13
sergeypavlenko CreditAttribution: sergeypavlenko commentedAll is well. Change the status.
Comment #14
alexpottCommitted 6454dbe and pushed to 8.x. Thanks!