From 62a356615c690e4020ef143332270ee57525b2c4 Mon Sep 17 00:00:00 2001 From: cash Date: Wed, 25 Jan 2012 19:31:01 -0500 Subject: plugins use language cache and cache is cleared properly --- engine/lib/plugins.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engine/lib/plugins.php') diff --git a/engine/lib/plugins.php b/engine/lib/plugins.php index 07b21d276..488387ba7 100644 --- a/engine/lib/plugins.php +++ b/engine/lib/plugins.php @@ -303,6 +303,9 @@ function elgg_load_plugins() { if (elgg_get_config('system_cache_loaded')) { $start_flags = $start_flags & ~ELGG_PLUGIN_REGISTER_VIEWS; + if ($CONFIG->i18n_loaded_from_cache) { + $start_flags = $start_flags & ~ELGG_PLUGIN_REGISTER_LANGUAGES; + } } $return = true; -- cgit v1.2.3