aboutsummaryrefslogtreecommitdiffstats
path: root/modules/middleware
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-02 16:18:09 -0400
committerUnknwon <u@gogs.io>2015-09-02 16:18:09 -0400
commit83dc2468f574e9cf83515e54268bdb4c03f6d98c (patch)
tree03499c31d850c1c0e4cb063b9cc70f9c1d2a063b /modules/middleware
parent842770d7fbc72789d6df885da7ec5a2d4070f25f (diff)
downloadgitea-83dc2468f574e9cf83515e54268bdb4c03f6d98c.tar.gz
gitea-83dc2468f574e9cf83515e54268bdb4c03f6d98c.zip
finish initial version of pull request
Diffstat (limited to 'modules/middleware')
-rw-r--r--modules/middleware/repo.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/middleware/repo.go b/modules/middleware/repo.go
index 33e2a5da36..8f44ac9a23 100644
--- a/modules/middleware/repo.go
+++ b/modules/middleware/repo.go
@@ -300,8 +300,6 @@ func RepoAssignment(redirect bool, args ...bool) macaron.Handler {
ctx.Data["MirrorInterval"] = ctx.Repo.Mirror.Interval
}
- repo.NumOpenIssues = repo.NumIssues - repo.NumClosedIssues
- repo.NumOpenMilestones = repo.NumMilestones - repo.NumClosedMilestones
ctx.Repo.Repository = repo
ctx.Data["IsBareRepo"] = ctx.Repo.Repository.IsBare