Browse Source

修改代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/590/head
zouap 3 years ago
parent
commit
f580580485
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      routers/repo/attachment.go

+ 0
- 2
routers/repo/attachment.go View File

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


Loading…
Cancel
Save