diff options
author | Unknwon <u@gogs.io> | 2016-08-04 16:32:02 -0700 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-08-04 16:32:02 -0700 |
commit | 2f105f397965637c46ca6c0092a7c5fe38440dab (patch) | |
tree | 0ddb0e4b25cbc7d28fbf6ec34fbfcc8514877481 /routers/repo/issue.go | |
parent | ee28fd92551961070cff4fe1b37ab94268c2f111 (diff) | |
download | gitea-2f105f397965637c46ca6c0092a7c5fe38440dab.tar.gz gitea-2f105f397965637c46ca6c0092a7c5fe38440dab.zip |
#2162 completely disable builtin issue tracker when enable external tracker
Diffstat (limited to 'routers/repo/issue.go')
-rw-r--r-- | routers/repo/issue.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/issue.go b/routers/repo/issue.go index 91d0c7b99e..3849da25d5 100644 --- a/routers/repo/issue.go +++ b/routers/repo/issue.go @@ -52,7 +52,7 @@ var ( ) func MustEnableIssues(ctx *context.Context) { - if !ctx.Repo.Repository.EnableIssues { + if !ctx.Repo.Repository.EnableIssues || ctx.Repo.Repository.EnableExternalTracker { ctx.Handle(404, "MustEnableIssues", nil) return } |