Module data not loaded automatically into $user
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? I've written modules myself where it has to be done manually. Cheers, -- Sammy Spets Synerger Pty Ltd http://www.synerger.com/
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.
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
Issue closed. :) -- Sammy Spets Synerger Pty Ltd http://www.synerger.com/ On 03-May-06 04:29, Gerhard Killesreiter wrote:
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.
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
participants (2)
-
Gerhard Killesreiter -
Sammy Spets