»

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. 

  • targetid. 

  • type. 

Source:

cgi-bin/ljlib.pl

Returns:

1 if the relationship exists, 0 otherwise