aboutsummaryrefslogtreecommitdiffstats
path: root/routers/repo/compare.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/compare.go')
-rw-r--r--routers/repo/compare.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/repo/compare.go b/routers/repo/compare.go
index d7fddc4558..4769a4da1a 100644
--- a/routers/repo/compare.go
+++ b/routers/repo/compare.go
@@ -422,10 +422,6 @@ func CompareDiff(ctx *context.Context) {
beforeCommitID := ctx.Data["BeforeCommitID"].(string)
afterCommitID := ctx.Data["AfterCommitID"].(string)
- if ctx.Data["Assignees"], err = ctx.Repo.Repository.GetAssignees(); err != nil {
- ctx.ServerError("GetAssignees", err)
- return
- }
ctx.Data["Title"] = "Comparing " + base.ShortSha(beforeCommitID) + "..." + base.ShortSha(afterCommitID)