summaryrefslogtreecommitdiffstats
path: root/application/models
diff options
context:
space:
mode:
Diffstat (limited to 'application/models')
-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)) {