»

LJ::Cmdbuffer::flush

LJ::Cmdbuffer::flush — flush up to 500 rows of a given command type from the cmdbuffer table

Use

LJ::Cmdbuffer::flush(dbh, db, cmd, userid);

Arguments

  • dbh. master database handle

  • db. database cluster master

  • cmd. a command type registered in %LJ::Cmdbuffer::cmds

  • userid. optional userid to which flush should be constrained

Source:

cgi-bin/ljcmdbuffer.pl

Returns:

1 on success, 0 on failure