summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.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/pull.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/pull.go')
-rw-r--r--routers/repo/pull.go1
1 files changed, 0 insertions, 1 deletions
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
}