1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

#3589 LoadRepoConfig after ORM is initialized

This commit is contained in:
Unknwon
2016-09-02 23:18:37 -04:00
parent c50d59874d
commit 6da55159a2
5 changed files with 6 additions and 9 deletions

View File

@@ -38,6 +38,7 @@ type Mirror struct {
}
func (m *Mirror) BeforeInsert() {
m.UpdatedUnix = time.Now().Unix()
m.NextUpdateUnix = m.NextUpdate.Unix()
}