diff options
author | Florian Pritz <bluewind@xinu.at> | 2016-11-01 15:49:14 +0100 |
---|---|---|
committer | Florian Pritz <bluewind@xinu.at> | 2016-11-01 17:26:18 +0100 |
commit | ecb9a19cfaf627af4fc316a2125cd10d7e233150 (patch) | |
tree | 2d2c87fb15c7e3c557fe34b244ebe7ec9846ee3e /application/models | |
parent | ea36cc8c5f15d02c7846764cace736ada6969e59 (diff) |
mmultipaste->delete_id: Fix inverted return value
Broken in d2fdfc77f7a9485548869414d4377cd6848fe339
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models')
-rw-r--r-- | application/models/mmultipaste.php | 2 |
1 files changed, 1 insertions, 1 deletions
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) |