Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Aug 18, 2020
1 parent a4d0549 commit 562d3d2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions models/migrations/v96.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
package migrations

import (
"path"
"path/filepath"

"code.gitea.io/gitea/modules/setting"
Expand All @@ -14,10 +13,6 @@ import (
"xorm.io/xorm"
)

func relativePath(uuid string) string {
return path.Join(uuid[0:1], uuid[1:2], uuid)
}

func deleteOrphanedAttachments(x *xorm.Engine) error {
type Attachment struct {
ID int64 `xorm:"pk autoincr"`
Expand Down

0 comments on commit 562d3d2

Please sign in to comment.