From 2e26be863b23a730095743e4aeed8d94d2bb456a Mon Sep 17 00:00:00 2001 From: kilo Date: Sun, 29 Oct 2017 05:31:49 +0100 Subject: [PATCH] Update delete.go --- controllers/torrent/delete.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/torrent/delete.go b/controllers/torrent/delete.go index 2a84828f..5f853fa1 100644 --- a/controllers/torrent/delete.go +++ b/controllers/torrent/delete.go @@ -35,7 +35,7 @@ func TorrentDeleteUserPanel(c *gin.Context) { query.Append("torrent_id", id) torrentReports, _, _ := reports.FindOrderBy(query, "", 0, 0) for _, report := range torrentReports { - report.Delete(false) + report.Delete() } } c.Redirect(http.StatusSeeOther, "/?deleted")