diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-21 10:44:47 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-21 10:44:47 -0500 |
commit | a2cfbdeb100324090ffe19d58aeb71c2def83ac8 (patch) | |
tree | ed6b95ea6f9e21101fc467ffe02caaea3eda5975 /engine/lib/languages.php | |
parent | b6284c6e781275e7d545778fb9ae41ba9107bdaa (diff) | |
download | elgg-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.php | 9 |
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'); |