Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Oct 1, 2019
1 parent c36534d commit d85b302
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions application/model/file/file.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ func (f *File) fireDelete() error {
if err != nil {
return err
}
f.base.Begin()
defer func() {
f.base.End(err == nil)
}()
f.Use(f.base.Tx())
thumbNum := cnt()
if thumbNum > 0 {
thumbM.Use(f.Trans())
Expand Down

0 comments on commit d85b302

Please sign in to comment.