diff options
author | Marin Jankovski <maxlazio@gmail.com> | 2016-03-11 12:43:35 +0100 |
---|---|---|
committer | Marin Jankovski <maxlazio@gmail.com> | 2016-03-11 12:43:35 +0100 |
commit | 1314ba219ef8a655872df743434bffe959d3028f (patch) | |
tree | 9ee81ef7fb5901aefb5c28d8ae09e55bbf9121b5 /routers | |
parent | 5267dce21023802818b0c0c16ba2ca47c146e1b5 (diff) | |
download | gitea-1314ba219ef8a655872df743434bffe959d3028f.tar.gz gitea-1314ba219ef8a655872df743434bffe959d3028f.zip |
Updated and created were appended with _unix. Fresh databases have only the newly named fields.
Diffstat (limited to 'routers')
-rw-r--r-- | routers/repo/repo.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/repo.go b/routers/repo/repo.go index d4af0babc0..eb944acebc 100644 --- a/routers/repo/repo.go +++ b/routers/repo/repo.go @@ -34,7 +34,7 @@ func MustBeNotBare(ctx *middleware.Context) { } func checkContextUser(ctx *middleware.Context, uid int64) *models.User { - orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated") + orgs, err := models.GetOwnedOrgsByUserIDDesc(ctx.User.Id, "updated_unix") if err != nil { ctx.Handle(500, "GetOwnedOrgsByUserIDDesc", err) return nil |