aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/view.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/view.go')
-rw-r--r--routers/repo/view.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/routers/repo/view.go b/routers/repo/view.go
index fa1e2d0747..3483a53a0d 100644
--- a/routers/repo/view.go
+++ b/routers/repo/view.go
@@ -356,11 +356,6 @@ func renderFile(ctx *context.Context, entry *git.TreeEntry, treeLink, rawLink st
// Home render repository home page
func Home(ctx *context.Context) {
- if !models.HasOrgVisible(ctx.Repo.Repository.Owner, ctx.User) {
- ctx.NotFound("HasOrgVisible", nil)
- return
- }
-
if len(ctx.Repo.Units) > 0 {
var firstUnit *models.Unit
for _, repoUnit := range ctx.Repo.Units {