function _background_process_cleanup_menu in Background Process 7
Same name and namespace in other branches
- 8 background_process.module \_background_process_cleanup_menu()
Cleanup cache menu and ensure all locks are released (again).
1 string reference to '_background_process_cleanup_menu'
- background_process_service_start in ./
background_process.module - Call the function requested by the service call.
File
- ./
background_process.module, line 486
Code
function _background_process_cleanup_menu($cid) {
cache_clear_all($cid, 'cache_menu');
// Release locks in case cache_clear_all() set's a lock and lock_release_all()
// has already been run.
lock_release_all();
}