function _acquia_purge_queue_clear in Acquia Purge 6
Same name and namespace in other branches
- 7 acquia_purge.deprecated.inc \_acquia_purge_queue_clear()
Queue manager: clear the queue and invalidate all running processes.
@returns Void.
1 call to _acquia_purge_queue_clear()
- drush_acquia_purge_ap_forget in ./
acquia_purge.drush.inc - Forget all scheduled purges and empty the queue.
File
- ./
acquia_purge.module, line 655 - Acquia Purge, Top-notch Varnish purging on Acquia Cloud!
Code
function _acquia_purge_queue_clear() {
db_query('DELETE FROM {ap_queue}');
variable_set('acquia_purge_queue_counter', 0);
variable_set('acquia_purge_queue_owners', array());
}