From 561f1d1695e24f1b32967e7e52b808487e8340e6 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 25 Feb 2009 21:13:59 +0000 Subject: 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 --- engine/lib/languages.php | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'engine/lib') 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 -- cgit v1.2.3