summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue.go
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2019-12-28 00:43:56 +0100
committertechknowlogick <techknowlogick@gitea.io>2019-12-27 18:43:56 -0500
commit4ee97465e97ae6b9d3ac6ea57246f67715246afe (patch)
treee332e1e4c954536e393eb33eb85073f26687bd6b /routers/repo/issue.go
parente64880ef0767a6921498401e041bf9ad8dfa9a6f (diff)
downloadgitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.tar.gz
gitea-4ee97465e97ae6b9d3ac6ea57246f67715246afe.zip
[Fix] AllowedReaction code (#9518)
* optimize * CI.restart() Co-authored-by: techknowlogick <matti@mdranta.net> Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r--routers/repo/issue.go1
1 files changed, 0 insertions, 1 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()))