From a485be040550c777e6fb055762d081eb85f1c670 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Mon, 3 Nov 2014 18:06:36 +0100 Subject: Fix deletion of multipaste tarball when deleting a multipaste 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 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)) { -- cgit v1.2.3-24-g4f1b