function _acquia_purge_queue_clear in Acquia Purge 7
Same name and namespace in other branches
- 6 acquia_purge.module \_acquia_purge_queue_clear()
DEPRECATED: clear the queue and invalidate all running processes.
File
- ./
acquia_purge.deprecated.inc, line 271 - Deprecated functions.
Code
function _acquia_purge_queue_clear($state_only = FALSE) {
_acquia_purge_deprecated('_acquia_purge_service()->clear()');
if ($state_only) {
_acquia_purge_service()
->state()
->wipe();
}
else {
_acquia_purge_service()
->clear();
}
}