function purge_worker_callback in Purge 7.2
Callback for Queued purges.
2 string references to 'purge_worker_callback'
- PurgeQueueRunner::process in includes/
purge.class.inc - Processes the queue.
- purge_queue_runner_workers in ./
purge.module - Implements hook_queue_runner_workers().
File
- ./
purge.module, line 25 - Purge clears url's from reverse proxy caches like Varnish and Squid by issuing HTTP PURGE requests.
Code
function purge_worker_callback($queue_items) {
module_load_include('inc', 'purge', 'includes/purge');
purge_queue_execute($queue_items['data']);
return True;
}