summaryrefslogtreecommitdiffstats
path: root/models/attachment.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/attachment.go')
-rw-r--r--models/attachment.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/models/attachment.go b/models/attachment.go
index 149d9ea5bf..104ad1d92f 100644
--- a/models/attachment.go
+++ b/models/attachment.go
@@ -31,7 +31,6 @@ type Attachment struct {
CreatedUnix int64
}
-
// BeforeInsert is invoked from XORM before inserting an object of this type.
func (a *Attachment) BeforeInsert() {
a.CreatedUnix = time.Now().Unix()