LJ::mark_entry_as_spam

LJ::mark_entry_as_spam — Copies an entry in a community into the global spamreports table.

Use

LJ::mark_entry_as_spam(journalu_uid, jitemid);

Arguments

  • journalu_uid. User object of journal (community) entry was posted in, or the userid of it.

  • jitemid. ID of this entry.

Source:

cgi-bin/LJ/Entry.pm

Returns:

1 for success, 0 for failure