function node_gallery_batch_sorting_finished in Node Gallery 6.3
1 string reference to 'node_gallery_batch_sorting_finished'
File
- ./
node_gallery.inc, line 1072 - Shared functions for node_gallery
Code
function node_gallery_batch_sorting_finished($success, $results, $operation) {
if ($success) {
// $results contains ['gid'] as well as the actual results, so we subtract one here.
$message = format_plural(count($results) - 1, 'One image processed.', '@count images processed.');
}
else {
$message = t('Finished with an error.');
}
node_gallery_clear_gallery_caches($results['gid']);
drupal_set_message($message);
}