diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-09-27 19:20:05 +0200 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-11-01 17:29:04 +0100 |
commit | 21f62592671029c65cf9405de787e06bb3f78a65 (patch) | |
tree | 1731c80ab1343f8b594abafe74236fce6cce1706 /application/controllers/file | |
parent | 9bb894086ea5c3e8160e57b5993482502f9c1011 (diff) |
c/file: Remove upload detection
This only existed for curl based uploading which is no longer supported
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file')
-rw-r--r-- | application/controllers/file/file_default.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/application/controllers/file/file_default.php b/application/controllers/file/file_default.php index fe795ad19..46caf3a23 100644 --- a/application/controllers/file/file_default.php +++ b/application/controllers/file/file_default.php @@ -26,9 +26,7 @@ class File_default extends MY_Controller { // Try to guess what the user would like to do. $id = $this->uri->segment(1); - if (!empty($_FILES)) { - $this->do_upload(); - } elseif (strpos($id, "m-") === 0 && $this->mmultipaste->id_exists($id)) { + if (strpos($id, "m-") === 0 && $this->mmultipaste->id_exists($id)) { $this->_download(); } elseif ($id != "file" && $this->mfile->id_exists($id)) { $this->_download(); |