You are here

function maestro_dummy_batch_function in Maestro 3.x

Same name and namespace in other branches
  1. 8.2 modules/maestro_utilities/maestro_utilities.module \maestro_dummy_batch_function()

This is a dummy placeholder function to be used to do a batch function noop.

Parameters

int $processID: The Maestro process ID.

int $queueID: The Maestro queue ID.

File

modules/maestro_utilities/maestro_utilities.module, line 113
You need this if you want to simply use MaestroEngine in code calls as we do.

Code

function maestro_dummy_batch_function($processID, $queueID) {

  /* Does nothing and immediately returns TRUE which tells
   * the engine that this task is complete.
   */
  return TRUE;
}