summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDouwe Maan <douwe@selenight.nl>2016-08-19 19:07:02 -0500
committerDouwe Maan <douwe@selenight.nl>2016-08-19 19:49:12 -0500
commit97dddf39cd98d49f02b9adae3b7aeb3b28c434a6 (patch)
treed37b19516aec51cdbaae153111945acebf928917 /lib
parentc711fe15dd2409161702f20a1ccffd861ae798ab (diff)
downloadgitlab-ce-97dddf39cd98d49f02b9adae3b7aeb3b28c434a6.tar.gz
Disable “issue by email” feature until it uses a different token
Diffstat (limited to 'lib')
-rw-r--r--lib/gitlab/email/handler.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/gitlab/email/handler.rb b/lib/gitlab/email/handler.rb
index bd3267e2a80..5cf9d5ebe28 100644
--- a/lib/gitlab/email/handler.rb
+++ b/lib/gitlab/email/handler.rb
@@ -4,7 +4,8 @@ require 'gitlab/email/handler/create_issue_handler'
module Gitlab
module Email
module Handler
- HANDLERS = [CreateNoteHandler, CreateIssueHandler]
+ # The `CreateIssueHandler` feature is disabled for the time being.
+ HANDLERS = [CreateNoteHandler]
def self.for(mail, mail_key)
HANDLERS.find do |klass|