aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-07 11:35:12 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:29:09 +0200
commit82bca32015b94b140b7c810fc5d7e721e8ee341f (patch)
treef2611a4d9bb320b58cdda55d68832d13fb494df2 /phpBB/phpbb/files
parent[ticket/13904] Improve test coverage of form upload type (diff)
downloadphpbb-82bca32015b94b140b7c810fc5d7e721e8ee341f.tar.gz
phpbb-82bca32015b94b140b7c810fc5d7e721e8ee341f.tar.bz2
phpbb-82bca32015b94b140b7c810fc5d7e721e8ee341f.zip
[ticket/13904] Improve test coverage of remote upload type
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/types/remote.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/phpBB/phpbb/files/types/remote.php b/phpBB/phpbb/files/types/remote.php
index bad87243a5..b5a0dade11 100644
--- a/phpBB/phpbb/files/types/remote.php
+++ b/phpBB/phpbb/files/types/remote.php
@@ -84,11 +84,6 @@ class remote extends base
return $this->factory->get('filespec')->set_error($this->language->lang($this->upload->error_prefix . 'URL_INVALID'));
}
- if (empty($match[2]))
- {
- return $this->factory->get('filespec')->set_error($this->language->lang($this->upload->error_prefix . 'URL_INVALID'));
- }
-
$url = parse_url($upload_url);
$host = $url['host'];