function background_process_service_unlock in Background Process 7
Same name and namespace in other branches
- 6 background_process.admin.inc \background_process_service_unlock()
- 7.2 background_process.module \background_process_service_unlock()
Unlock background process.
Parameters
$handle: Handle of process to unlock
1 string reference to 'background_process_service_unlock'
- background_process_menu in ./
background_process.module - Implements hook_menu().
File
- ./
background_process.admin.inc, line 150
Code
function background_process_service_unlock($handle) {
$handle = rawurldecode($handle);
if (background_process_unlock($handle)) {
drupal_set_message(t('Process %handle unlocked', array(
'%handle' => $handle,
)));
}
else {
drupal_set_message(t('Process %handle could not be unlocked', array(
'%handle' => $handle,
)), 'error');
}
drupal_goto();
}