diff options
author | Unknwon <joe2010xtmf@163.com> | 2014-07-26 18:37:18 -0400 |
---|---|---|
committer | Unknwon <joe2010xtmf@163.com> | 2014-07-26 18:37:18 -0400 |
commit | 5e8138341357f367868a32b631495c9d5a286477 (patch) | |
tree | fb36040422534e051ac381cde594ff1a208e4195 /routers/user/home.go | |
parent | 02a81ddb6252d1a08900d548ddb63e41bcb0b8ef (diff) | |
download | gitea-5e8138341357f367868a32b631495c9d5a286477.tar.gz gitea-5e8138341357f367868a32b631495c9d5a286477.zip |
Git installation check, show image in single file view, show short SHA1 instead of 40-length string, complete log module
Diffstat (limited to 'routers/user/home.go')
-rw-r--r-- | routers/user/home.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/user/home.go b/routers/user/home.go index b5a789ae0e..186cbe41a7 100644 --- a/routers/user/home.go +++ b/routers/user/home.go @@ -32,7 +32,6 @@ func Dashboard(ctx *middleware.Context) { ctx.Handle(500, "home.Dashboard(GetOrganizations)", err) return } - ctx.Data["Orgs"] = ctx.User.Orgs ctx.Data["ContextUser"] = ctx.User repos, err := models.GetRepositories(ctx.User.Id, true) @@ -40,9 +39,6 @@ func Dashboard(ctx *middleware.Context) { ctx.Handle(500, "GetRepositories", err) return } - for _, repo := range repos { - repo.Owner = ctx.User - } ctx.Data["Repos"] = repos ctx.Data["CollaborativeRepos"], err = models.GetCollaborativeRepos(ctx.User.Name) |