You are here

protected function Notifications_Queue::queue_init_interval in Notifications 6.4

Init user last time sent for destination, interval

2 calls to Notifications_Queue::queue_init_interval()
Notifications_Queue::queue_init_subscription in includes/notifications_queue.class.inc
Init sent time when creating/updating a new subscription.
Notifications_Queue::queue_update_sent in includes/notifications_queue.class.inc
Update user last time sent for each destination / interval

File

includes/notifications_queue.class.inc, line 534

Class

Notifications_Queue
Queue management and processing

Code

protected function queue_init_interval($mdid, $interval, $time, $counter = 0) {
  db_query("INSERT INTO {notifications_sent}(mdid, send_interval, sent, counter) VALUES(%d, '%d', %d, %d)", $mdid, $interval, $time, $counter);
}