You are here

function l10n_update_batch_fetch_finished in Localization update 7.2

Batch finished callback: Set result message.

Parameters

bool $success: TRUE if batch successfully completed.

array $results: Batch results.

2 string references to 'l10n_update_batch_fetch_finished'
l10n_update_batch_fetch_build in ./l10n_update.fetch.inc
Builds a batch to download and import project translations.
l10n_update_batch_update_build in ./l10n_update.fetch.inc
Builds a batch to check, download and import project translations.

File

./l10n_update.batch.inc, line 208
Batch process to check the availability of remote or local po files.

Code

function l10n_update_batch_fetch_finished($success, array $results) {
  module_load_include('bulk.inc', 'l10n_update');
  if ($success) {
    variable_set('l10n_update_last_check', REQUEST_TIME);
  }
  l10n_update_batch_finished($success, $results);
}