summaryrefslogtreecommitdiffstats
path: root/application/controllers/file.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2016-06-07 11:44:33 +0200
committerFlorian Pritz <bluewind@xinu.at>2016-06-07 11:44:33 +0200
commit029c9dfed3da9282885d43c0a216ea397fac541f (patch)
treec95b69c25ba2bb2373efb50286583c401d566f02 /application/controllers/file.php
parent819b0abb8e76afadb2768d24f4eae645c8d4f2d3 (diff)
file/download: Delete invalid multipastes
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/controllers/file.php')
-rw-r--r--application/controllers/file.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/application/controllers/file.php b/application/controllers/file.php
index 2c68114a7..56928015f 100644
--- a/application/controllers/file.php
+++ b/application/controllers/file.php
@@ -90,6 +90,7 @@ class File extends MY_Controller {
$is_multipaste = true;
if(!$this->mmultipaste->valid_id($id)) {
+ $this->mmultipaste->delete_id($id);
return $this->_non_existent();
}
$files = $this->mmultipaste->get_files($id);