You are here

function lingotek_advanced_parsing_update_finished in Lingotek Translation 7.3

Same name and namespace in other branches
  1. 7.7 lingotek.module \lingotek_advanced_parsing_update_finished()
  2. 7.2 lingotek.module \lingotek_advanced_parsing_update_finished()
  3. 7.4 lingotek.module \lingotek_advanced_parsing_update_finished()
  4. 7.5 lingotek.module \lingotek_advanced_parsing_update_finished()
  5. 7.6 lingotek.module \lingotek_advanced_parsing_update_finished()

"Finished" callback for the XML update batch operation.

1 string reference to 'lingotek_advanced_parsing_update_finished'
lingotek_handle_advanced_xml_upgrade in ./lingotek.admin.inc
Custom form handler for upgrading a site from using Lingotek's simple to advanced XML parsing of content.

File

./lingotek.module, line 1042

Code

function lingotek_advanced_parsing_update_finished($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('Advanced parsing updates complete.'));
  }
  else {
    drupal_set_message(t('There were errors updating one or more existing Lingotek documents.'), 'error');
  }
}