summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-09-27 19:20:05 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-11-05 19:44:15 +0100
commitafe624d3e34b698306688c2979e6c5dad596aa37 (patch)
tree634aba5ec0372f3520dddbeded836dc0e7354b17 /application
parent4845474b173afa3e27c164500399af87c4cc7db0 (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')
-rw-r--r--application/controllers/file/file_default.php4
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();