From 029c9dfed3da9282885d43c0a216ea397fac541f Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 7 Jun 2016 11:44:33 +0200 Subject: file/download: Delete invalid multipastes Signed-off-by: Florian Pritz --- application/controllers/file.php | 1 + 1 file changed, 1 insertion(+) (limited to 'application/controllers/file.php') 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); -- cgit v1.2.3-24-g4f1b