summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/core/Loader.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/system/core/Loader.php b/system/core/Loader.php
index 5b119854b..e0a7d5e1b 100644
--- a/system/core/Loader.php
+++ b/system/core/Loader.php
@@ -634,14 +634,7 @@ class CI_Loader {
*/
public function language($files, $lang = '')
{
- $LNG =& get_instance()->lang;
- is_array($files) OR $files = array($files);
-
- foreach ($files as $langfile)
- {
- $LNG->load($langfile, $lang);
- }
-
+ get_instance()->lang->load($files, $lang);
return $this;
}