removed $return argument from load()
diff --git a/system/libraries/Language.php b/system/libraries/Language.php
index 94923a3..bcf84cf 100644
--- a/system/libraries/Language.php
+++ b/system/libraries/Language.php
@@ -49,7 +49,7 @@
* @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 @@
}
}
-
if ( ! isset($lang))
{
log_message('error', 'Language file contains no data: language/'.$idiom.'/'.$langfile);