You are here

function _acquia_purge_queue_pop in Acquia Purge 7

Same name and namespace in other branches
  1. 6 acquia_purge.module \_acquia_purge_queue_pop()

DEPRECATED: process as many items from the queue as capacity allows.

File

./acquia_purge.deprecated.inc, line 334
Deprecated functions.

Code

function _acquia_purge_queue_pop($processor = NULL) {
  if (!is_null($processor)) {
    _acquia_purge_deprecated('_acquia_purge_service()->process()', '_acquia_purge_queue_pop($processor)');
  }
  else {
    _acquia_purge_deprecated('_acquia_purge_service()->process()');
  }
  return _acquia_purge_service()
    ->process();
}