LJ::approve_pending_member

LJ::approve_pending_member — Approves someone's request to join a community. This updates the authactions table as appropriate as well as does the regular join logic. This also generates an e-mail to be sent to the user notifying them of the acceptance.

Use

LJ::approve_pending_member(commid, userid);

Arguments

  • commid. userid of the community

  • userid. userid of the user doing the join

Source:

cgi-bin/communitylib.pl

Returns:

1 on success, 0/undef on error