You are here

function getid3_perform_batch_process_complete in getID3() 7.2

BatchAPI complete callback for getID3 import.

1 string reference to 'getid3_perform_batch_process_complete'
getid3_perform_batch_process in ./getid3.module
Triggers the batch operation for updating file entities.

File

./getid3.module, line 219

Code

function getid3_perform_batch_process_complete($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('File entity ID3 data updated @count files successfully.', array(
      '@count' => count($results),
    )));
  }
  else {
    drupal_set_message(theme('item_list', array(
      'items' => $results['errors'],
    )), 'error');
  }
}