summaryrefslogtreecommitdiff
path: root/modules/locale/locale.install
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.install')
-rw-r--r--modules/locale/locale.install2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index d33d25ba7..96b3b8c77 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -81,7 +81,7 @@ function locale_uninstall() {
// Switch back to English: with a $language->language value different from 'en'
// successive calls of t() might result in calling locale(), which in turn might
// try to query the unexisting {locales_source} and {locales_target} tables.
- drupal_init_language();
+ drupal_language_initialize();
// Remove tables.
drupal_uninstall_schema('locale');