aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/languages.php
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2013-02-04 20:59:06 -0500
committerCash Costello <cash.costello@gmail.com>2013-02-09 08:14:23 -0500
commit269d3621531a80b13221a2f6e663efe2ad20ccaa (patch)
tree68f69ccace8be00d579d96f02d77c93f196e53a0 /engine/lib/languages.php
parent78e0ec583619cbb728cbe03df857c8219acaac7e (diff)
downloadelgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.gz
elgg-269d3621531a80b13221a2f6e663efe2ad20ccaa.tar.bz2
remove unused code: vars, foreach keys, etc
Diffstat (limited to 'engine/lib/languages.php')
-rw-r--r--engine/lib/languages.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/engine/lib/languages.php b/engine/lib/languages.php
index 11722f744..3c231d964 100644
--- a/engine/lib/languages.php
+++ b/engine/lib/languages.php
@@ -104,8 +104,6 @@ function add_translation($country_code, $language_array) {
* @return string The language code for the site/user or "en" if not set
*/
function get_current_language() {
- global $CONFIG;
-
$language = get_language();
if (!$language) {