function webform_clear_batch_finished in Webform 7.4
Batch API completion callback; Finish clearing submissions.
1 string reference to 'webform_clear_batch_finished'
- webform_results_clear_form_submit in includes/
webform.report.inc - Form submit handler.
File
- includes/
webform.report.inc, line 422 - This file includes helper functions for creating reports for webform.module.
Code
function webform_clear_batch_finished($success, $results, $operations) {
if ($success) {
$title = $results['node']->title;
drupal_set_message(t('Webform %title entries cleared.', array(
'%title' => $title,
)));
watchdog('webform', 'Webform %title entries cleared.', array(
'%title' => $title,
));
}
}