[drupal-devel] [task] Use node_load instead of extra db_query
moshe weitzman
drupal-devel at drupal.org
Mon Aug 8 02:59:28 UTC 2005
Issue status update for
http://drupal.org/node/27947
Post a follow up:
http://drupal.org/project/comments/add/27947
Project: Drupal
Version: cvs
Component: profile.module
Category: tasks
Priority: normal
Assigned to: robertDouglass
Reported by: robertDouglass
Updated by: moshe weitzman
-Status: patch (code needs review)
+Status: patch (ready to be committed)
this is a no brainer
moshe weitzman
Previous comments:
------------------------------------------------------------------------
Mon, 01 Aug 2005 12:20:10 +0000 : robertDouglass
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