[drupal-devel] [task] Use node_load instead of extra db_query

robertDouglass drupal-devel at drupal.org
Mon Aug 1 12:22:15 UTC 2005

Issue status update for 
Post a follow up: 

 Project:      Drupal
 Version:      cvs
 Component:    profile.module
 Category:     tasks
 Priority:     normal
 Assigned to:  robertDouglass
 Reported by:  robertDouglass
 Updated by:   robertDouglass
 Status:       patch (code needs review)
 Attachment:   http://drupal.org/files/issues/profile_node_load.txt (803 bytes)

Since node_load caches its results and we know that a node is being
loaded anyway, it makes no sense to have an extra db query just to
determine the user id for the node.


More information about the drupal-devel mailing list