You are here

function user_revision_table_init_data_batch_finished in User Revision 7.2

Same name and namespace in other branches
  1. 7 user_revision.batch.inc \user_revision_table_init_data_batch_finished()

Batch finished callback.

Parameters

$success:

$results:

1 string reference to 'user_revision_table_init_data_batch_finished'
user_revision_install in ./user_revision.install
Implements hook_install().

File

./user_revision.batch.inc, line 94
Batch API functions, callbacks.

Code

function user_revision_table_init_data_batch_finished($success, $results) {
  if ($success) {
    $message = format_plural($results['processed'], 'One record was added to {user_revision} table.', '@count records were added to {user_revision} table.');
    drupal_set_message($message);
  }
  else {
    drupal_set_message(t('Finished with an error.'), 'error');
  }
}