summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2007-07-12 15:36:56 +0200
committerDerek Jones <derek.jones@ellislab.com>2007-07-12 15:36:56 +0200
commite5808cf64d1177127cc9f26e6f681b412a192339 (patch)
tree08186fefe5ab4f48885c9389814fbe116c1b8401 /system
parent48bb32aece18e9dce381602e242609adfc71b0d0 (diff)
removed $return argument from load()
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Language.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/system/libraries/Language.php b/system/libraries/Language.php
index 94923a3e7..bcf84cf67 100644
--- a/system/libraries/Language.php
+++ b/system/libraries/Language.php
@@ -49,7 +49,7 @@ class CI_Language {
* @param string the language (english, etc.)
* @return void
*/
- function load($langfile = '', $idiom = '', $return = FALSE)
+ function load($langfile = '', $idiom = '')
{
$langfile = str_replace(EXT, '', str_replace('_lang.', '', $langfile)).'_lang'.EXT;
@@ -82,7 +82,6 @@ class CI_Language {
}
}
-
if ( ! isset($lang))
{
log_message('error', 'Language file contains no data: language/'.$idiom.'/'.$langfile);