diff options
Diffstat (limited to 'phpBB/phpbb')
| -rw-r--r-- | phpBB/phpbb/files/types/local.php | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/phpBB/phpbb/files/types/local.php b/phpBB/phpbb/files/types/local.php index 96bfdaca7f..ff11890856 100644 --- a/phpBB/phpbb/files/types/local.php +++ b/phpBB/phpbb/files/types/local.php @@ -84,19 +84,7 @@ class local extends base return $file; } - if (isset($upload['error'])) - { - $error = $this->upload->assign_internal_error($upload['error']); - - if ($error !== false) - { - $file->error[] = $error; - return $file; - } - } - // PHP Upload file size check - $this->check_upload_size($file); $file = $this->check_upload_size($file); if (sizeof($file->error)) { |
