[development] Module data not loaded automatically into $user

Gerhard Killesreiter gerhard at killesreiter.de
Wed May 3 02:29:00 UTC 2006


Sammy Spets wrote:
> Hey there everyone,
>
> I'm looking through the bug reports and there is one (at least) i'm 
> happy to fix. Just need a little info from the powers that be.
>
> http://drupal.org/node/46551
>
> Is it by design that drupal not load module data into the $user object 
> during bootstrap?

Yes. You almost never need the extra data and it can be a lot of queries.

>  I've written modules myself where it has to be done 
> manually.
>   

Thats the recommended way.

Cheers,
    Gerhard


More information about the development mailing list