LJ::accept_comm_invite

LJ::accept_comm_invite — Accepts an invitation a user has received. This does all the work to make the user join the community as well as sets up privileges.

Use

LJ::accept_comm_invite(uuserid, cuserid);

Arguments

  • uuserid. a userid or u object of the user to get pending invites for

  • cuserid. a userid or u object of the community to reject the invitation from

Source:

cgi-bin/communitylib.pl

Returns:

1 for success, undef if failure