summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-05-24 17:39:35 +0000
committerDries Buytaert <dries@buytaert.net>2009-05-24 17:39:35 +0000
commita24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b (patch)
tree9194465a044c0fdad447eba2906f0472a4dff515 /modules/locale
parenta5f42fd007bf3646261b431c52cde53657e21564 (diff)
downloadbrdo-a24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b.tar.gz
brdo-a24a6c2bba2d15ab835e0b0fce9354bb6fb16c5b.tar.bz2
- Patch #471070 by stella: millions of code style fixes.
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.install10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/locale/locale.install b/modules/locale/locale.install
index 97d8f0978..7febbba9a 100644
--- a/modules/locale/locale.install
+++ b/modules/locale/locale.install
@@ -224,7 +224,7 @@ function locale_uninstall() {
}
// Delete the JavaScript translations directory if empty.
@rmdir($locale_js_directory);
-
+
// Clear variables.
variable_del('language_default');
variable_del('language_count');
@@ -234,16 +234,16 @@ function locale_uninstall() {
variable_del('language_content_type_negotiation');
variable_del('locale_cache_strings');
variable_del('locale_js_directory');
-
+
foreach (node_get_types() as $type => $content_type) {
$setting = variable_del('language_content_type_' . $type);
}
-
+
// 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
+ // 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();
-
+
// Remove tables.
drupal_uninstall_schema('locale');
}