summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
Diffstat (limited to 'routers')
-rw-r--r--routers/repo/issue.go1
-rw-r--r--routers/repo/pull.go1
2 files changed, 0 insertions, 2 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go
index ae0c2d3b8f..4810eecdc6 100644
--- a/routers/repo/issue.go
+++ b/routers/repo/issue.go
@@ -705,7 +705,6 @@ func ViewIssue(ctx *context.Context) {
}
}
ctx.Data["IssueWatch"] = iw
- ctx.Data["AllowedReactions"] = setting.UI.Reactions
issue.RenderedContent = string(markdown.Render([]byte(issue.Content), ctx.Repo.RepoLink,
ctx.Repo.Repository.ComposeMetas()))
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index 932e99290b..418c2e9438 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -423,7 +423,6 @@ func PrepareViewPullInfo(ctx *context.Context, issue *models.Issue) *git.Compare
ctx.Data["NumCommits"] = compareInfo.Commits.Len()
ctx.Data["NumFiles"] = compareInfo.NumFiles
- ctx.Data["AllowedReactions"] = setting.UI.Reactions
return compareInfo
}