#573680 by mgifford, David_Rothstein: Fixed language import during installation (and a notice).

merge-requests/26/head
Angie Byron 2009-09-17 02:34:32 +00:00
parent 4360fcd15b
commit 02d18aa68d
1 changed files with 1 additions and 0 deletions

View File

@ -1397,6 +1397,7 @@ function install_import_locales_remaining(&$install_state) {
include_once DRUPAL_ROOT . '/includes/locale.inc';
// Collect files to import for this language. Skip components already covered
// in the initial batch set.
$install_locale = $install_state['parameters']['locale'];
$batch = locale_batch_by_language($install_locale, NULL, variable_get('install_locale_batch_components', array()));
// Remove temporary variable.
variable_del('install_locale_batch_components');