Skip to content

Commit 562d3d2

Browse files
committed
fix lint
1 parent a4d0549 commit 562d3d2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

models/migrations/v96.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
package migrations
66

77
import (
8-
"path"
98
"path/filepath"
109

1110
"code.gitea.io/gitea/modules/setting"
@@ -14,10 +13,6 @@ import (
1413
"xorm.io/xorm"
1514
)
1615

17-
func relativePath(uuid string) string {
18-
return path.Join(uuid[0:1], uuid[1:2], uuid)
19-
}
20-
2116
func deleteOrphanedAttachments(x *xorm.Engine) error {
2217
type Attachment struct {
2318
ID int64 `xorm:"pk autoincr"`

0 commit comments

Comments
 (0)