summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-08-11 03:38:43 +0200
committerDerek Jones <derek.jones@ellislab.com>2010-08-11 03:38:43 +0200
commit23b7776accc6ebfa377c9b54bd04baaaf0c00132 (patch)
tree46da3ed9f3190d39523749f8e301f1e4b3a12be6
parent4062d48ca89736c952e9be17bb395d36140f4668 (diff)
undoing mistaken changes in rev 8c54b3b0402f
-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;
}