aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/files
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-07 22:51:44 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:29:12 +0200
commit00e5ff9e2e9c0dd7325f33a22888d6888af4b197 (patch)
treefa8cd0134e764d3878a2580fc86b6c2912e155ca /phpBB/phpbb/files
parent7a92ad596c56c25728fd6a22c3a817504e8cb347 (diff)
downloadforums-00e5ff9e2e9c0dd7325f33a22888d6888af4b197.tar
forums-00e5ff9e2e9c0dd7325f33a22888d6888af4b197.tar.gz
forums-00e5ff9e2e9c0dd7325f33a22888d6888af4b197.tar.bz2
forums-00e5ff9e2e9c0dd7325f33a22888d6888af4b197.tar.xz
forums-00e5ff9e2e9c0dd7325f33a22888d6888af4b197.zip
[ticket/13904] Add unit tests for local upload type
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/types/local.php12
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))
{