From 0cc0b7ac9769de9b880f3651520c865e21f80284 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sun, 14 Aug 2011 22:34:22 -0500 Subject: [PATCH] refactoring lang class. --- system/lang.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/system/lang.php b/system/lang.php index b6c90c5c..24d79ce0 100644 --- a/system/lang.php +++ b/system/lang.php @@ -63,10 +63,7 @@ class Lang { */ public function get($language = null, $default = null) { - if (is_null($language)) - { - $language = Config::get('application.language'); - } + if (is_null($language)) $language = Config::get('application.language'); list($module, $file, $line) = $this->parse($this->key, $language);