function notifications_queue_delete in Notifications 6
Same name and namespace in other branches
- 5 notifications.cron.inc \notifications_queue_delete()
- 6.2 notifications.cron.inc \notifications_queue_delete()
- 6.3 notifications.cron.inc \notifications_queue_delete()
Delete rows from subscriptions queue
Note: Handle with care if no params may delete all rows
See also
1 call to notifications_queue_delete()
- notifications_queue_done in ./
notifications.cron.inc - Mark queue rows as done
File
- ./
notifications.cron.inc, line 565
Code
function notifications_queue_delete($params) {
$query = notifications_queue_query($params);
db_query("DELETE FROM {notifications_queue} WHERE " . implode(' AND ', $query['where']), $query['args']);
}