modes/mirror: corrected NextUpdate not set (#4345)

This commit is contained in:
Jonas 2017-03-27 05:24:48 +02:00 committed by 无闻
parent 496e07c1c9
commit f40eb9774e

View File

@ -60,7 +60,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()
}
}