summaryrefslogtreecommitdiffstats
path: root/models/migrations/v61.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/migrations/v61.go')
-rw-r--r--models/migrations/v61.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/migrations/v61.go b/models/migrations/v61.go
index bcbc7553b8..8d9b7e2d23 100644
--- a/models/migrations/v61.go
+++ b/models/migrations/v61.go
@@ -33,7 +33,7 @@ func addSizeToAttachment(x *xorm.Engine) error {
localPath := path.Join(setting.AttachmentPath, attach.UUID[0:1], attach.UUID[1:2], attach.UUID)
fi, err := os.Stat(localPath)
if err != nil {
- log.Error(4, "calculate file size of attachment[UUID: %s]: %v", attach.UUID, err)
+ log.Error("calculate file size of attachment[UUID: %s]: %v", attach.UUID, err)
continue
}
attach.Size = fi.Size()