Skip to content

Commit 2e4da60

Browse files
committed
Remove unused function
1 parent 3dffb03 commit 2e4da60

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

models/migrations/v96.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,6 @@ func deleteOrphanedAttachments(x *xorm.Engine) error {
2626
CommentID int64
2727
}
2828

29-
// AttachmentLocalPath returns where attachment is stored in local file
30-
// system based on given UUID.
31-
AttachmentLocalPath := func(uuid string) string {
32-
return path.Join(setting.AttachmentPath, uuid[0:1], uuid[1:2], uuid)
33-
}
34-
3529
sess := x.NewSession()
3630
defer sess.Close()
3731

0 commit comments

Comments
 (0)