LJ::set_rel

LJ::set_rel — Sets relationship information for two users.

Use

LJ::set_rel(dbs, userid, targetid, type);

Arguments

  • dbs. Deprecated; optional, a master/slave set of database handles.

  • userid. source userid, or a user hash

  • targetid. target userid, or a user hash

  • type. type of the relationship

Source:

cgi-bin/ljrelation.pl

Returns:

1 if set succeeded, otherwise undef