»

LJ::set_interests

LJ::set_interests — Change a user's interests

Use

LJ::set_interests(dbarg, u, old, new);

Arguments

  • dbarg. Deprecated; a master database handle ($dbh) or a master/slave set of database handles ($dbs).

  • u. A hashref of a row from the user table, sometimes called a "user object". Although only initially a row from the user table, gets a lot of tacked onto it from various other LJ API functions.

  • old. 

  • new. 

Source:

cgi-bin/weblib.pl

Returns:

1 on success, undef on failure