diff options
author | cash <cash.costello@gmail.com> | 2012-01-25 19:31:01 -0500 |
---|---|---|
committer | cash <cash.costello@gmail.com> | 2012-01-25 19:31:01 -0500 |
commit | 62a356615c690e4020ef143332270ee57525b2c4 (patch) | |
tree | 6a3ded880aaaa0c2e740435fb5260e220d523eb9 /engine/lib/plugins.php | |
parent | 2bbb2d4630ff0f1a50748621b3943e5c5a8ce5d9 (diff) | |
download | elgg-62a356615c690e4020ef143332270ee57525b2c4.tar.gz elgg-62a356615c690e4020ef143332270ee57525b2c4.tar.bz2 |
plugins use language cache and cache is cleared properly
Diffstat (limited to 'engine/lib/plugins.php')
-rw-r--r-- | engine/lib/plugins.php | 3 |
1 files changed, 3 insertions, 0 deletions
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; |