diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 18f6c04782bc838f241ec569a1be882cb4ca1508..d68746ae104f82d068226dbd3f4e791d4449124c 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -452,7 +452,7 @@ function locale_system_update(array $components) { function locale_system_remove($components) { $components += ['module' => [], 'theme' => []]; $list = array_merge($components['module'], $components['theme']); - if ($language_list = locale_translatable_language_list()) { + if (locale_translatable_language_list()) { module_load_include('compare.inc', 'locale'); \Drupal::moduleHandler()->loadInclude('locale', 'bulk.inc');