LJ::Talk::freeze_comments

LJ::Talk::freeze_comments — Freezes comments. This is the internal helper function called by freeze_thread/unfreeze_thread. Use those if you wish to freeze or unfreeze a thread. This function just freezes specific comments.

Use

LJ::Talk::freeze_comments(u, nodetype, nodeid, unfreeze, ids);

Arguments

  • u. Userid or object of user to manipulate comments in.

  • nodetype. Nodetype of the thing containing the specified ids. Typically "L".

  • nodeid. Id of the node to manipulate comments from.

  • unfreeze. If 1, unfreeze instead of freeze.

  • ids. Array reference containing jtalkids to manipulate.

Source:

cgi-bin/LJ/Talk.pm

Returns:

1 on success; undef on error