»

LJ::delete_entry

LJ::delete_entry — Deletes a user's journal entry

Use

LJ::delete_entry(uuserid, jitemid, quick, anum);

Arguments

  • uuserid. Journal itemid or $u object of journal to delete entry from

  • jitemid. Journal itemid of item to delete.

  • quick. Optional boolean. If set, only log2 table is deleted from and the rest of the content is deleted later using LJ::cmd_buffer_add.

  • anum. The log item's anum, which'll be needed to delete lazily some data in tables which includes the anum, but the log row will already be gone so we'll need to store it for later.

Source:

cgi-bin/ljlib.pl

Returns:

boolean; 1 on success, 0 on failure.