summaryrefslogtreecommitdiffstats
path: root/modules/context/repo.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/context/repo.go')
-rw-r--r--modules/context/repo.go1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/context/repo.go b/modules/context/repo.go
index 7651d43fad..a60f81b4d5 100644
--- a/modules/context/repo.go
+++ b/modules/context/repo.go
@@ -427,7 +427,6 @@ func RepoAssignment() macaron.Handler {
return
}
}
- ctx.Data["IsForkedRepo"] = repo.IsFork
// People who have push access or have forked repository can propose a new pull request.
if ctx.Repo.IsWriter() || (ctx.IsSigned && ctx.User.HasForkedRepo(ctx.Repo.Repository.ID)) {