aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2012-01-21 10:44:47 -0500
committerCash Costello <cash.costello@gmail.com>2012-01-21 10:44:47 -0500
commita2cfbdeb100324090ffe19d58aeb71c2def83ac8 (patch)
treeed6b95ea6f9e21101fc467ffe02caaea3eda5975 /engine/lib/languages.php
parentb6284c6e781275e7d545778fb9ae41ba9107bdaa (diff)
downloadelgg-a2cfbdeb100324090ffe19d58aeb71c2def83ac8.tar.gz
elgg-a2cfbdeb100324090ffe19d58aeb71c2def83ac8.tar.bz2
cleans up the boot process
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 207fe4c99..80c789ced 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -302,14 +302,6 @@ function get_missing_language_keys($language) {
}
/**
- * Load translations
- * @access private
- */
-function elgg_language_boot() {
- register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
-}
-
-/**
* Initialize the language library
* @access private
*/
@@ -318,5 +310,4 @@ function elgg_languages_init() {
elgg_register_simplecache_view("cache/js/languages/$lang");
}
-elgg_register_event_handler('boot', 'system', 'elgg_language_boot', 1);
elgg_register_event_handler('init', 'system', 'elgg_languages_init');