function _notifications_update_queue_clean in Notifications 6.4
Helper function, clean up queue, events, sent
3 calls to _notifications_update_queue_clean()
- notifications_update_6006 in ./
notifications.install - Clean up the queue, will speed up next updates.
- notifications_update_6011 in ./
notifications.install - Language enable everything and normalize language field
- notifications_update_6013 in ./
notifications.install - Clean up queue and events
File
- ./
notifications.install, line 548
Code
function _notifications_update_queue_clean() {
$ret = array();
$ret[] = update_sql("DELETE FROM {notifications_queue}");
$ret[] = update_sql("DELETE FROM {notifications_event}");
$ret[] = update_sql("DELETE FROM {notifications_sent}");
return $ret;
}