why not executing user_load for current user? Loading user object is only done in sess_read(), but it doesn't invoke user-load hook.

Comments

killes@www.drop.org’s picture

Status: Active » Closed (won't fix)

needs too many ressources and the info isn't needed on most pages.

moshe weitzman’s picture

this merits further discussion. i really don't think it is obiously a bad idea. marking it wontfix discourages discussion.

nevets’s picture

Besides, all people do is find a way to work around the limitation. So instead of having code in the obvious place (hook = user, op = load) people use the init hook to achieve the same thing.