summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-29 23:49:17 +0800
committerUnknwon <u@gogs.io>2015-08-29 23:49:17 +0800
commit8d73832bdfeecb3889cf5a1f2b4e41b9d4d37f62 (patch)
tree30ba996f6a6c06886a3bb522f2a575d545c71fff /routers
parenta3683ca5d6e64b74eb4b44d4cab2e7469f343529 (diff)
downloadgitea-8d73832bdfeecb3889cf5a1f2b4e41b9d4d37f62.tar.gz
gitea-8d73832bdfeecb3889cf5a1f2b4e41b9d4d37f62.zip
fix sql
Diffstat (limited to 'routers')
-rw-r--r--routers/user/home.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/user/home.go b/routers/user/home.go
index 6ae11bb17d..95e0fc0fe0 100644
--- a/routers/user/home.go
+++ b/routers/user/home.go
@@ -224,10 +224,6 @@ func Issues(ctx *middleware.Context) {
}
ctx.Data["Repos"] = showRepos
- if repoID > 0 {
- repoIDs = []int64{repoID}
- }
-
issueStats := models.GetUserIssueStats(repoID, ctxUser.Id, repoIDs, filterMode)
issueStats.AllCount = int64(allCount)