diff options
author | Thomas Boerger <thomas@webhippie.de> | 2017-01-28 23:14:56 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-28 23:14:56 +0100 |
commit | 78535fb08ebe667f27da6b44a9af52aae1148434 (patch) | |
tree | fa4f539811b8e66ae7aa7f177702180642844bc3 /models/attachment.go | |
parent | cc31a21192cba31cc2ede74b44f1c4e19621d4f7 (diff) | |
download | gitea-78535fb08ebe667f27da6b44a9af52aae1148434.tar.gz gitea-78535fb08ebe667f27da6b44a9af52aae1148434.zip |
Allow custom public files (#782)
* Allow custom public files
* Gofmt code, lots of places not related to this pr
Diffstat (limited to 'models/attachment.go')
-rw-r--r-- | models/attachment.go | 1 |
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() |