function _node_mass_update_batch_finished

7.x node.admin.inc _node_mass_update_batch_finished($success, $results, $operations)
6.x node.admin.inc _node_mass_update_batch_finished($success, $results, $operations)

Node Mass Update Batch 'finished' callback.

1 string reference to '_node_mass_update_batch_finished'
node_mass_update in drupal-6.x/modules/node/node.admin.inc
Make mass update of nodes, changing all nodes in the $nodes array to update them with the field values in $updates.

File

drupal-6.x/modules/node/node.admin.inc, line 421
Content administration and module settings UI.

Code

function _node_mass_update_batch_finished($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('The update has been performed.'));
  }
  else {
    drupal_set_message(t('An error occurred and processing did not complete.'), 'error');
    $message = format_plural(count($results), '1 item successfully processed:', '@count items successfully processed:');
    $message .= theme('item_list', $results);
    drupal_set_message($message);
  }
}