function filehash_bulk_finished in File Hash 7
Batch finish callback.
1 string reference to 'filehash_bulk_finished'
- filehash_bulk_submit in ./
filehash.admin.inc - Submit callback for File Hash bulk generate.
File
- ./
filehash.admin.inc, line 87 - File Hash configuration.
Code
function filehash_bulk_finished($success, $results, $operations) {
$variables = array(
'@processed' => $results['processed'],
);
if ($success) {
drupal_set_message(t('Processed all @processed files and generated any missing file hashes.', $variables));
}
else {
drupal_set_message(t('An error occurred after processing @processed files.', $variables), 'warning');
}
}