summaryrefslogtreecommitdiffstats
path: root/application/models/mmultipaste.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2014-11-03 18:06:36 +0100
committerFlorian Pritz <bluewind@xinu.at>2014-11-03 18:06:36 +0100
commita485be040550c777e6fb055762d081eb85f1c670 (patch)
tree005b944e8faa8c9a88bbbc23e8a801a64e0251e3 /application/models/mmultipaste.php
parente1f6ddab39486dd9819a20b5538f8b6c6b7c7e66 (diff)
Fix deletion of multipaste tarball when deleting a multipaste
Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/models/mmultipaste.php')
-rw-r--r--application/models/mmultipaste.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/models/mmultipaste.php b/application/models/mmultipaste.php
index 29fc183b6..6cbf6518b 100644
--- a/application/models/mmultipaste.php
+++ b/application/models/mmultipaste.php
@@ -99,7 +99,7 @@ class Mmultipaste extends CI_Model {
->delete('multipaste');
$path = $this->get_tarball_path($id);
- $f = new \service\storage($this->config->item("upload_path"), $path);
+ $f = new \service\storage($this->get_tarball_path($id));
$f->unlink();
if ($this->id_exists($id)) {