We have two different implementations of checking the new-ness of a node
wrt the current user:
_forum_user_last_visit selects all history entries and populates a
static array when first called.
and
node_last_viewed will execute a query per nid (and cache the result in
a static array too).
We should find out which one is faster, use only that, and remove the
other function (the new function should be in node.module of course).
Comments
Comment #1
coreb commentedMoving out of the x.y.z queue into 6.x-dev.
Comment #2
bdragon commentedMoving to 7. (Although it will probabaly get bumped to 8.)
Comment #3
bdragon commentedBumping to 8.
They do act a bit differently. Also, the forum seems to me like it could potentially eat up a lot of ram for very active users...
Comment #4
jhedstromComment #5
jhedstromNeither of these functions exist by the names in the issue summary, so not sure if this is still an issue or not.
Comment #18
xjmThese APIs no longer exist and the D8+ Entity/Field API did effectively unify such functionality, so marking "Outdated". Thanks!