You are here

function queue_ui_batch_finished in Queue UI 7.2

Same name and namespace in other branches
  1. 6 queue_ui.module \queue_ui_batch_finished()
  2. 7 queue_ui.module \queue_ui_batch_finished()
1 string reference to 'queue_ui_batch_finished'
queue_ui_queue_info in ./queue_ui.module

File

./queue_ui.module, line 284
queue_ui.module

Code

function queue_ui_batch_finished($success, $results, $operations) {
  if ($success) {
    $message = 'success';
  }
  else {
    $message = t('An error occured @todo.');
  }
  drupal_set_message($message);
}