diff options
author | Unknwon <u@gogs.io> | 2016-08-11 10:53:51 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-11 10:53:51 -0700 |
commit | 5077408d78971463a94f2037d78fa68f201bda48 (patch) | |
tree | 45e01783d324f52a088eab1102ed70353340a54b /modules/context | |
parent | 0885784f136b9b68653ec33fa733e962f3507f7e (diff) | |
download | gitea-5077408d78971463a94f2037d78fa68f201bda48.tar.gz gitea-5077408d78971463a94f2037d78fa68f201bda48.zip |
#3233 code cleanup and minor issue fix
Diffstat (limited to 'modules/context')
-rw-r--r-- | modules/context/repo.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go index ea3b445e31..af18881486 100644 --- a/modules/context/repo.go +++ b/modules/context/repo.go @@ -223,7 +223,6 @@ func RepoAssignment(args ...bool) macaron.Handler { ctx.Data["IsRepositoryOwner"] = ctx.Repo.IsOwner() ctx.Data["IsRepositoryAdmin"] = ctx.Repo.IsAdmin() ctx.Data["IsRepositoryWriter"] = ctx.Repo.IsWriter() - ctx.Data["IsRepositoryMirror"] = repo.IsMirror ctx.Data["DisableSSH"] = setting.SSH.Disabled ctx.Data["CloneLink"] = repo.CloneLink() |