trim comment bloat from lang class.
This commit is contained in:
parent
d53ae7457a
commit
8ddfdd9e7a
|
@ -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/';
|
||||
|
|
Loading…
Reference in New Issue