Part of #2047951: [META] Remove calls to deprecated global $user and $GLOBALS['user']
core/modules/node/lib/Drupal/node/Access/NodeRevisionAccessCheck.php
fix of $account = $GLOBALS['user'];
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | node-revision-access-check-remove-global-user-2062117-5.patch | 641 bytes | m1r1k |
| #3 | 2062117-3.patch | 666 bytes | anpolimus |
| #2 | 2062117-2.patch | 665 bytes | anpolimus |
| #1 | 2062117-1.patch | 666 bytes | anpolimus |
Comments
Comment #1
anpolimusREplaced global $user with get account method.
Comment #2
anpolimustest2
Comment #3
anpolimusreplased with new \Drupal::request()->attributes->get('_account');
Comment #5
m1r1k commentedRe-roll after #2076411: Remove the request scope from the current user service
Comment #6
m1r1k commentedPush to retesting
Comment #7
joelpittetThis one looks good to go and applies cleanly as of today.
Comment #8
webchickCommitted and pushed to 8.x. Thanks!