summaryrefslogtreecommitdiffstats
path: root/models/migrations/v1_10/v96.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v1_10/v96.go')
-rw-r--r--models/migrations/v1_10/v96.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v1_10/v96.go b/models/migrations/v1_10/v96.go
index 422defe838..34c8240031 100644
--- a/models/migrations/v1_10/v96.go
+++ b/models/migrations/v1_10/v96.go
@@ -53,7 +53,7 @@ func DeleteOrphanedAttachments(x *xorm.Engine) error {
for _, attachment := range attachments {
uuid := attachment.UUID
- if err := util.RemoveAll(filepath.Join(setting.Attachment.Path, uuid[0:1], uuid[1:2], uuid)); err != nil {
+ if err := util.RemoveAll(filepath.Join(setting.Attachment.Storage.Path, uuid[0:1], uuid[1:2], uuid)); err != nil {
return err
}
}