diff options
Diffstat (limited to 'app/services/admin')
-rw-r--r-- | app/services/admin/propagate_integration_service.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/services/admin/propagate_integration_service.rb b/app/services/admin/propagate_integration_service.rb index e21bb03ed68..9a5ce58ee2c 100644 --- a/app/services/admin/propagate_integration_service.rb +++ b/app/services/admin/propagate_integration_service.rb @@ -96,7 +96,7 @@ module Admin # rubocop: disable CodeReuse/ActiveRecord def run_callbacks(batch) - if active_external_issue_tracker? + if integration.issue_tracker? Project.where(id: batch).update_all(has_external_issue_tracker: true) end @@ -106,10 +106,6 @@ module Admin end # rubocop: enable CodeReuse/ActiveRecord - def active_external_issue_tracker? - integration.issue_tracker? && !integration.default - end - def active_external_wiki? integration.type == 'ExternalWikiService' end |