LJ::load_rel_user_cache

LJ::load_rel_user_cache — Loads user relationship information of the type 'type' where user 'targetid' participates on the left side (is the source of the relationship) trying memcache first. The results from this sub should be treated as inaccurate and out of date.

Use

LJ::load_rel_user_cache(userid, type);

Arguments

  • userid. userid or a user hash to load relationship information for.

  • type. type of the relationship

Source:

cgi-bin/ljrelation.pl

Returns:

reference to an array of userids