aboutsummaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorJonas <cez81@users.noreply.github.com>2017-04-06 02:56:45 +0200
committerLunny Xiao <xiaolunwen@gmail.com>2017-04-05 17:56:45 -0700
commite7493e953f7cc32569b08f48a46e4cf0bacbf74e (patch)
treee486d54a9f8de777ca3cc4e69eda86b454e5b39d /models
parent2d1efcc270c854ae8484dae8c3edf5fd14a63c63 (diff)
downloadgitea-e7493e953f7cc32569b08f48a46e4cf0bacbf74e.tar.gz
gitea-e7493e953f7cc32569b08f48a46e4cf0bacbf74e.zip
Corrected Mirror.NextUpdate not set (#1388)
Diffstat (limited to 'models')
-rw-r--r--models/repo_mirror.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/repo_mirror.go b/models/repo_mirror.go
index 068911282e..d8d4bc0bec 100644
--- a/models/repo_mirror.go
+++ b/models/repo_mirror.go
@@ -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()
}
}