From ecb9a19cfaf627af4fc316a2125cd10d7e233150 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Tue, 1 Nov 2016 15:49:14 +0100 Subject: mmultipaste->delete_id: Fix inverted return value Broken in d2fdfc77f7a9485548869414d4377cd6848fe339 Signed-off-by: Florian Pritz --- application/models/mmultipaste.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'application/models') diff --git a/application/models/mmultipaste.php b/application/models/mmultipaste.php index fc0889377..52ea4dfb4 100644 --- a/application/models/mmultipaste.php +++ b/application/models/mmultipaste.php @@ -125,7 +125,7 @@ class Mmultipaste extends CI_Model { $f = new \service\storage($this->get_tarball_path($id)); $f->unlink(); - return $this->id_exists($id); + return !$this->id_exists($id); } public function get_owner($id) -- cgit v1.2.3-24-g4f1b