trim comment bloat from lang class.

This commit is contained in:
Taylor Otwell 2011-08-06 20:46:35 -05:00
parent d53ae7457a
commit 8ddfdd9e7a
1 changed files with 0 additions and 4 deletions

View File

@ -103,8 +103,6 @@ private function parse($key, $language)
// 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 @@ private function parse($key, $language)
*/
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/';