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))