#3233 code cleanup and minor issue fix

This commit is contained in:
Unknwon committed 2016-08-11 10:53:51 -07:00
1 parent 0885784f13
commit 5077408d78
11 files changed
+55 -81

No files matched your search

-1
View File
@@ -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()