Commit 601c2881 authored by Yorick Peterse's avatar Yorick Peterse

Move EE code out of HookData::IssueBuilder

This ensures that Gitlab::HookData::IssueBuilder uses the same code in
CE and EE.
parent 15c9b7ea
...@@ -3,8 +3,6 @@ ...@@ -3,8 +3,6 @@
module Gitlab module Gitlab
module HookData module HookData
class IssueBuilder < BaseBuilder class IssueBuilder < BaseBuilder
prepend ::EE::Gitlab::HookData::IssueBuilder # rubocop: disable Cop/InjectEnterpriseEditionModule
SAFE_HOOK_RELATIONS = %i[ SAFE_HOOK_RELATIONS = %i[
assignees assignees
labels labels
...@@ -55,3 +53,5 @@ module Gitlab ...@@ -55,3 +53,5 @@ module Gitlab
end end
end end
end end
Gitlab::HookData::IssueBuilder.prepend(EE::Gitlab::HookData::IssueBuilder)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment