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.

CommentFileSizeAuthor
profile_node_load.txt803 bytesrobertdouglass

Comments

moshe weitzman’s picture

Status: Needs review » Reviewed & tested by the community

this is a no brainer

dries’s picture

Status: Reviewed & tested by the community » Fixed

Committed to HEAD. Thanks.

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Anonymous’s picture

Status: Fixed » Closed (fixed)