LJ::Tags::can_control_tags

LJ::Tags::can_control_tags — Determines if one account is allowed to control (add, edit, delete) the tags of another.

Use

LJ::Tags::can_control_tags(u, remote);

Arguments

  • u. User id or object of account tags are being edited on.

  • remote. User id or object of account performing the action.

Source:

cgi-bin/LJ/Tags.pm

Returns:

1 if allowed, 0 if not, undef on error