From 8ddfdd9e7aa44507f877b628df44464a6172599e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 6 Aug 2011 20:46:35 -0500 Subject: [PATCH] trim comment bloat from lang class. --- system/lang.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/system/lang.php b/system/lang.php index dc1b804e..0ae40ca5 100644 --- a/system/lang.php +++ b/system/lang.php @@ -103,8 +103,6 @@ class Lang { // the language line, otherwise, we will use "application" as the module. $module = (strpos($key, '::') !== false) ? substr($key, 0, strpos($key, ':')) : 'application'; - // If the language line is stored in a module, we need to strip the module qualifier - // off of the language key before continuing. if ($module != 'application') { $key = substr($key, strpos($key, ':') + 2); @@ -130,8 +128,6 @@ class Lang { */ private function load($module, $file, $language) { - // If the language lines for the given module, file, and language have already been - // loaded, we can bail out of this method. if (isset(static::$lines[$module][$language.$file])) return; $path = ($module === 'application') ? LANG_PATH : MODULE_PATH.$module.'/lang/';