function _acquia_purge_queue_lock in Acquia Purge 7
DEPRECATED: acquire a lock and get permission to process the queue.
1 string reference to '_acquia_purge_queue_lock'
- acquia_purge_update_7105 in ./
acquia_purge.install - Locks are stored in Acquia Purge's state API now, remove old left over locks.
File
- ./
acquia_purge.deprecated.inc, line 319 - Deprecated functions.
Code
function _acquia_purge_queue_lock($acquire = TRUE) {
_acquia_purge_deprecated('_acquia_purge_service()->lockAcquire()');
if ($acquire === NULL) {
_acquia_purge_service()
->lockRelease();
}
else {
return _acquia_purge_service()
->lockAcquire();
}
}