Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
It does a user load then checks the two variables seeing if it needs that information
user_load is not cached (specially with the array access syntax), so doing a db_query for the two pieces of information directly may be better performance (The reason to call full user_load is in case anyone wants to alter the values -- what's the chance another contrib wants to change access/login timestamp on 'load'?)
Comments
Comment #1
deekayen CreditAttribution: deekayen commentedFixed in 7.x-dev.
Comment #2
deekayen CreditAttribution: deekayen commentedSee also http://drupal.org/commitlog/commit/4194/d414f21e5a4e45451668a03c29101cd5...