mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-22 04:33:42 +09:00
#3589 LoadRepoConfig after ORM is initialized
This commit is contained in:
@@ -38,6 +38,7 @@ type Mirror struct {
|
||||
}
|
||||
|
||||
func (m *Mirror) BeforeInsert() {
|
||||
m.UpdatedUnix = time.Now().Unix()
|
||||
m.NextUpdateUnix = m.NextUpdate.Unix()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user