LJ::Talk::delete_comment

LJ::Talk::delete_comment — Deletes a single comment.

Use

LJ::Talk::delete_comment(u, jitemid, jtalkid, state);

Arguments

  • u. Userid or user object to delete comment from.

  • jitemid. Journal itemid of item to delete comment from.

  • jtalkid. Journal talkid of the comment to delete.

  • state. Optional. If you know it, provide the state of the comment being deleted, else we load it.

Source:

cgi-bin/LJ/Talk.pm

Returns:

1 on success; undef on error