LJ::check_rel
LJ::check_rel — Checks whether two users are in a specified relationship to each other.
Use
LJ::check_rel(
db, userid, targetid, type)
;
Arguments
db.
userid. source userid, nonzero; may also be a user hash.
targetid. target userid, nonzero; may also be a user hash.
type. type of the relationship
Source:
cgi-bin/ljrelation.pl
Returns:
1 if the relationship exists, 0 otherwise