Skip to content
Snippets Groups Projects
Commit 02d18aa6 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent 4360fcd1
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -1397,6 +1397,7 @@ function install_import_locales_remaining(&$install_state) { ...@@ -1397,6 +1397,7 @@ function install_import_locales_remaining(&$install_state) {
include_once DRUPAL_ROOT . '/includes/locale.inc'; include_once DRUPAL_ROOT . '/includes/locale.inc';
// Collect files to import for this language. Skip components already covered // Collect files to import for this language. Skip components already covered
// in the initial batch set. // 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())); $batch = locale_batch_by_language($install_locale, NULL, variable_get('install_locale_batch_components', array()));
// Remove temporary variable. // Remove temporary variable.
variable_del('install_locale_batch_components'); variable_del('install_locale_batch_components');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment