summaryrefslogtreecommitdiffstats
path: root/routers/admin
diff options
context:
space:
mode:
authorMorlinest <morlinest@gmail.com>2017-10-10 22:37:18 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-10-10 22:37:18 +0200
commitdff26e25ca4e088ac709bc4b11eb84cdb9603d34 (patch)
tree2718eafc36bf69f4915ddf1aa83fe1fcf112d4f5 /routers/admin
parentc2346e44696e57c31f9765c32ee60b365a15c8f0 (diff)
downloadgitea-dff26e25ca4e088ac709bc4b11eb84cdb9603d34.tar.gz
gitea-dff26e25ca4e088ac709bc4b11eb84cdb9603d34.zip
Remove redudant functions and code (#2652)
* Remove redudant functions and code
Diffstat (limited to 'routers/admin')
-rw-r--r--routers/admin/repos.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/routers/admin/repos.go b/routers/admin/repos.go
index 12df6fba1e..8712797cf0 100644
--- a/routers/admin/repos.go
+++ b/routers/admin/repos.go
@@ -24,7 +24,6 @@ func Repos(ctx *context.Context) {
ctx.Data["PageIsAdminRepositories"] = true
routers.RenderRepoSearch(ctx, &routers.RepoSearchOptions{
- Ranger: models.Repositories,
Private: true,
PageSize: setting.UI.Admin.RepoPagingNum,
TplName: tplRepos,