aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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