diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-30 00:08:54 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-10-30 00:08:54 +0300 |
commit | 5d47d3f8ed7a2957c6feb96e3011bdfb93b7db29 (patch) | |
tree | 58a907ec1fcc3b82e4ff1b4348aa1d9ff7df6b22 /app/services/bulk_create_integration_service.rb | |
parent | ce27ba9f6c36ecb36114887853a5820c83a7036c (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services/bulk_create_integration_service.rb')
-rw-r--r-- | app/services/bulk_create_integration_service.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/bulk_create_integration_service.rb b/app/services/bulk_create_integration_service.rb index 96bf8a6abaf..06a2a107966 100644 --- a/app/services/bulk_create_integration_service.rb +++ b/app/services/bulk_create_integration_service.rb @@ -34,11 +34,11 @@ class BulkCreateIntegrationService end def run_callbacks(batch) - if integration.issue_tracker? && integration.active? + if integration.external_issue_tracker? batch.update_all(has_external_issue_tracker: true) end - if integration.type == 'ExternalWikiService' && integration.active? + if integration.external_wiki? batch.update_all(has_external_wiki: true) end end |