aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-25 21:13:59 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-02-25 21:13:59 +0000
commit561f1d1695e24f1b32967e7e52b808487e8340e6 (patch)
tree1d41b2e1621ed3f4119aeefbd4a5b00f8ccffe74 /engine
parent28ec773d386ffb9a9c1e58efae92922160a4b3e8 (diff)
downloadelgg-561f1d1695e24f1b32967e7e52b808487e8340e6.tar.gz
elgg-561f1d1695e24f1b32967e7e52b808487e8340e6.tar.bz2
Refs #808: Bug was actually fixed by not using empty... register_translations has to be in the wild otherwise install won't load translation.
git-svn-id: https://code.elgg.org/elgg/trunk@2953 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/languages.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 14692eeb4..bf6f204f0 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -242,14 +242,6 @@
return false;
}
- /**
- * Initialise and register language translations.
- *
- */
- function languages_init()
- {
- register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
- }
-
- register_elgg_event_handler('boot','system','languages_init',11); // Load languages after config.
+ register_translations(dirname(dirname(dirname(__FILE__))) . "/languages/");
+
?> \ No newline at end of file