diff --git a/.rubocop_todo/style/if_unless_modifier.yml b/.rubocop_todo/style/if_unless_modifier.yml index 2af7e0f209aa84eb9429b19992061f40fd3800c3..abc7b70753ebf60971ef61583c13d407177f6efe 100644 --- a/.rubocop_todo/style/if_unless_modifier.yml +++ b/.rubocop_todo/style/if_unless_modifier.yml @@ -196,7 +196,6 @@ Style/IfUnlessModifier: - 'config/initializers/direct_upload_support.rb' - 'config/initializers/doorkeeper.rb' - 'config/initializers/google_api_client.rb' - - 'config/initializers/jira.rb' - 'config/initializers/kaminari_active_record_relation_methods_with_limit.rb' - 'config/initializers/remove_active_job_execute_callback.rb' - 'config/initializers/stackprof.rb' diff --git a/config/initializers/jira.rb b/config/initializers/jira.rb deleted file mode 100644 index 664f9c878082edb03f91ec47a8da0a08dd489e62..0000000000000000000000000000000000000000 --- a/config/initializers/jira.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true - -# Changes Jira DVCS user agent requests in order to be successfully handled -# by our API. -# -# Gitlab::Jira::Middleware is only defined on EE -# -# Use safe_constantize because the class may exist but has not been loaded yet -if "Gitlab::Jira::Middleware".safe_constantize - Rails.application.config.middleware.use(Gitlab::Jira::Middleware) -end