0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 04:34:02 +01:00

Corrected Mirror.NextUpdate not set (#1388)

This commit is contained in:
Jonas 2017-04-06 02:56:45 +02:00 committed by Lunny Xiao
parent 2d1efcc270
commit e7493e953f

View file

@ -61,7 +61,7 @@ func (m *Mirror) AfterSet(colName string, _ xorm.Cell) {
}
case "updated_unix":
m.Updated = time.Unix(m.UpdatedUnix, 0).Local()
case "next_updated_unix":
case "next_update_unix":
m.NextUpdate = time.Unix(m.NextUpdateUnix, 0).Local()
}
}