summaryrefslogtreecommitdiffstats
path: root/routers/repo/issue_label.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/issue_label.go')
-rw-r--r--routers/repo/issue_label.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/routers/repo/issue_label.go b/routers/repo/issue_label.go
index 3422677943..9b4da4b500 100644
--- a/routers/repo/issue_label.go
+++ b/routers/repo/issue_label.go
@@ -18,10 +18,6 @@ const (
// Labels render issue's labels page
func Labels(ctx *context.Context) {
- MustEnableIssues(ctx)
- if ctx.Written() {
- return
- }
ctx.Data["Title"] = ctx.Tr("repo.labels")
ctx.Data["PageIsIssueList"] = true
ctx.Data["PageIsLabels"] = true