aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2013-02-23 11:29:13 -0500
committercash <cash.costello@gmail.com>2013-02-23 11:29:13 -0500
commit5ecd127960654865716742282e1c5db66ca398af (patch)
treea8ccdfacdf498dc9a7f8dc97af62b955ffead018 /engine/lib
parent58ebe3f9d266a8c641b7c7751578c4cfb22a352a (diff)
downloadelgg-5ecd127960654865716742282e1c5db66ca398af.tar.gz
elgg-5ecd127960654865716742282e1c5db66ca398af.tar.bz2
Fixes #4971 serving languages from ajax page handler rather than simplecache (which cannot handle languages)
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/languages.php11
1 files changed, 0 insertions, 11 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index ed182dc46..17db14d98 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -349,14 +349,3 @@ function get_missing_language_keys($language) {
return false;
}
-
-/**
- * Initialize the language library
- * @access private
- */
-function elgg_languages_init() {
- $lang = get_current_language();
- elgg_register_simplecache_view("js/languages/$lang");
-}
-
-elgg_register_event_handler('init', 'system', 'elgg_languages_init');