You are here

function notifications_queue_clean in Notifications 6.3

Same name and namespace in other branches
  1. 6.2 notifications.module \notifications_queue_clean()

Clean queue for a user and update event tracker

3 calls to notifications_queue_clean()
notifications_admin_queue_process in ./notifications.admin.inc
Queue operations callback
notifications_update_user_subscriptions_submit in ./notifications.pages.inc
notifications_user in ./notifications.module
Implementation of hook_user().

File

./notifications.module, line 325
Notifications module

Code

function notifications_queue_clean($params) {
  require_once drupal_get_path('module', 'notifications') . '/notifications.cron.inc';
  notifications_queue_delete($params);
  notifications_event_clean(TRUE);
}