From 70d60fb88fb90a84fa06de5dff97c16dc3b43956 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 9 Apr 2010 12:14:25 +0000 Subject: - Patch #642614 by plach: locale_add_language() should reset entity_info() cache. --- includes/locale.inc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes') 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" -- cgit v1.2.3