summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-04-09 12:14:25 +0000
committerDries Buytaert <dries@buytaert.net>2010-04-09 12:14:25 +0000
commit70d60fb88fb90a84fa06de5dff97c16dc3b43956 (patch)
treec2bbd554ad9044c59bbba77ad76df467be0e1d74 /includes
parentdcda1fcdb5d37f7f8e13b576e1c4221553c7cc0d (diff)
downloadbrdo-70d60fb88fb90a84fa06de5dff97c16dc3b43956.tar.gz
brdo-70d60fb88fb90a84fa06de5dff97c16dc3b43956.tar.bz2
- Patch #642614 by plach: locale_add_language() should reset entity_info() cache.
Diffstat (limited to 'includes')
-rw-r--r--includes/locale.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/locale.inc b/includes/locale.inc
index 48351c12f..a4ca41691 100644
--- a/includes/locale.inc
+++ b/includes/locale.inc
@@ -386,6 +386,8 @@ function locale_add_language($langcode, $name = NULL, $native = NULL, $direction
_locale_invalidate_js($langcode);
watchdog('locale', 'The %language language (%code) has been created.', array('%language' => $name, '%code' => $langcode));
+
+ module_invoke_all('multilingual_settings_changed');
}
/**
* @} End of "locale-api-add"