You are here

function notifications_cron_queue_event_worker in Notifications 7

Worker callback. Check whether the message has expired before sending out.

1 string reference to 'notifications_cron_queue_event_worker'
notifications_cron_queue_info in ./notifications.module
Implementation of hook_cron_queue_info()

File

./notifications.module, line 1420
Notifications module

Code

function notifications_cron_queue_event_worker($event) {
  $event
    ->send_all();
  $event
    ->done();
}