You are here

function Notifications_Queue::queue_done in Notifications 6.4

Mark queue rows as done

Either log, if logging enabled, or delete

2 calls to Notifications_Queue::queue_done()
Notifications_Queue::process_group in includes/notifications_queue.class.inc
Process queued rows, send messages, etc, etc...
Notifications_Queue::process_queue in includes/notifications_queue.class.inc
Process subscriptions queue

File

includes/notifications_queue.class.inc, line 670

Class

Notifications_Queue
Queue management and processing

Code

function queue_done($params) {
  if (variable_get('notifications_log', 0)) {
    $this
      ->queue_update($params, array(
      'cron' => 0,
      'sent' => time(),
    ));
  }
  else {
    $this
      ->queue_delete($params);
  }
}