From f580580485476203a48c2ed20b7350983a536bb7 Mon Sep 17 00:00:00 2001 From: zouap Date: Fri, 22 Oct 2021 10:29:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=A3=E7=A0=81=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zouap --- routers/repo/attachment.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/routers/repo/attachment.go b/routers/repo/attachment.go index ae148d3f6..59f297a49 100755 --- a/routers/repo/attachment.go +++ b/routers/repo/attachment.go @@ -146,8 +146,6 @@ func DeleteAttachment(ctx *context.Context) { DeleteAllUnzipFile(attach, "") - TimingCountData() - _, err = models.DeleteFileChunkById(attach.UUID) if err != nil { ctx.Error(500, fmt.Sprintf("DeleteFileChunkById: %v", err))