You are here

function Notifications_Queue::queue_clean in Notifications 6.4

Clean queue for a user and update event tracker

Parameters

$params: Array of conditions. If none, all rows for disabled subscriptions will be deleted

File

includes/notifications_queue.class.inc, line 720

Class

Notifications_Queue
Queue management and processing

Code

function queue_clean($params) {
  $this
    ->queue_delete($params);
  $this
    ->event_clean(TRUE);
}