Closed (duplicate)
Project:
Drupal core
Version:
8.0.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
13 Sep 2011 at 12:13 UTC
Updated:
14 Apr 2015 at 14:00 UTC
Jump to comment: Most recent
Comments
Comment #1
sdboyer commentedI agree. Detangling
global $userfrom the session lets us handle these problems in isolation, which does make things cleaner.Seems like this patch might be a good place to introduce the user wrapper to replace the global. That idea was in some of the original patches from #335411: Switch to Symfony2-based session handling, and is a mighty nice addition, especially for testing.
Comment #2
Anonymous (not verified) commentedyep, big me too on getting $user outta there.
Comment #3
sunThis issue almost sounds like a duplicate of #1549526: Change global $user into $session
Comment #4
znerol commented