diff options
Diffstat (limited to 'app/services/issues/duplicate_service.rb')
-rw-r--r-- | app/services/issues/duplicate_service.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/services/issues/duplicate_service.rb b/app/services/issues/duplicate_service.rb index a3213c50f86..1fff9a4a684 100644 --- a/app/services/issues/duplicate_service.rb +++ b/app/services/issues/duplicate_service.rb @@ -2,11 +2,6 @@ module Issues class DuplicateService < Issues::BaseService - # TODO: this is to be removed once we get to rename the IssuableBaseService project param to container - def initialize(container:, current_user: nil, params: {}) - super(project: container, current_user: current_user, params: params) - end - def execute(duplicate_issue, canonical_issue) return if canonical_issue == duplicate_issue return unless can?(current_user, :update_issue, duplicate_issue) |