function images_process_finished in Node Gallery 6
2 string references to 'images_process_finished'
- node_gallery_images_edit_submit in ./
node_gallery.pages.inc - _node_gallery_delete in ./
node_gallery.module - Implementation of hook_nodeapi(op='delete').
File
- ./
node_gallery.module, line 448 - Node gallery module file.
Code
function images_process_finished($success, $results, $operations) {
if ($success) {
// Here we do something meaningful with the results.
//$message .= theme('item_list', $results);
}
else {
// An error occurred.
// $operations contains the operations that remained unprocessed.
$error_operation = reset($operations);
$message = 'An error occurred while processing ' . $error_operation[0] . ' with arguments :' . print_r($error_operation[0], TRUE);
}
drupal_set_message($message);
}