summaryrefslogtreecommitdiffstats
path: root/system
diff options
context:
space:
mode:
Diffstat (limited to 'system')
-rw-r--r--system/libraries/Upload.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 0aa6d4c20..c18c178df 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -937,12 +937,9 @@ class CI_Upload {
*/
function display_errors($open = '<p>', $close = '</p>')
{
- $CI =& get_instance();
- $CI->lang->load('upload');
$str = '';
foreach ($this->error_msg as $val)
{
- $str .= '<pre>'.print_r($CI->lang->line($msg), TRUE).'</pre>';
$str .= $open.$val.$close;
}