function classified_notifications_deliver in Classified Ads 7.3
Callback for cron to send queues mail jobs.
Parameters
array $job: The job about which info has to be sent.
Throws
\Exception
1 string reference to 'classified_notifications_deliver'
- classified_notifications_cron_queue_info in modules/
classified_notifications/ classified_notifications.module - Implements hook_cron_queue_info().
File
- modules/
classified_notifications/ classified_notifications.module, line 184 - Optional notification features for classified module.
Code
function classified_notifications_deliver(array $job) {
drupal_mail_system('classified_notifications', $job['key'])
->mail($job['message']);
}