aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/cache.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-06-17 17:22:46 -0700
committerCash Costello <cash.costello@gmail.com>2012-06-17 17:22:46 -0700
commit9f5634b5eef06a36f39fa3003ecaa969ef86df75 (patch)
tree846371c86f5be0847925a7909b1a8f051473b63c /engine/lib/cache.php
parent242ea5fa2b1ac775b74cf118a8b81d79e531104a (diff)
parent460b47b7cedb7b9af16d8d62e5b7b8b9eadff508 (diff)
downloadelgg-9f5634b5eef06a36f39fa3003ecaa969ef86df75.tar.gz
elgg-9f5634b5eef06a36f39fa3003ecaa969ef86df75.tar.bz2
Merge pull request #274 from cash/language_caching
Fixes #4538 Language caching rewrite
Diffstat (limited to 'engine/lib/cache.php')
-rw-r--r--engine/lib/cache.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/cache.php b/engine/lib/cache.php
index c117b9ec9..be1c43e14 100644
--- a/engine/lib/cache.php
+++ b/engine/lib/cache.php
@@ -442,6 +442,7 @@ function _elgg_cache_init() {
}
if ($CONFIG->system_cache_enabled && !$CONFIG->i18n_loaded_from_cache) {
+ reload_all_translations();
foreach ($CONFIG->translations as $lang => $map) {
elgg_save_system_cache("$lang.php", serialize($map));
}