LJ::statushistory_add

LJ::statushistory_add — Adds a row to a user's statushistory

Use

LJ::statushistory_add(userid, adminid, shtype, notes);

Arguments

  • userid. The user being acted on.

  • adminid. The site admin doing the action.

  • shtype. The status history type code.

  • notes. Optional notes associated with this action.

Info

See the statushistory table.

Source:

cgi-bin/ljlib.pl

Returns:

boolean; 1 on success, 0 on failure