You are here

function revision_scheduler_queue_process_item in Revision scheduler 7

Callback for the revision_scheduler queue.

1 string reference to 'revision_scheduler_queue_process_item'
revision_scheduler_cron_queue_info in ./revision_scheduler.module
Implements hook_cron_queue_info().

File

./revision_scheduler.module, line 365

Code

function revision_scheduler_queue_process_item($operation_id) {

  // Backwards support for any existing items that were in the queue, stored
  // as objects.
  $operation = is_object($operation_id) ? $operation_id : revision_scheduler_operation_load($operation_id);
  if ($operation) {
    revision_scheduler_operation_process($operation);
  }
}