diff options
Diffstat (limited to 'app/workers/gitlab/github_import/import_issue_worker.rb')
-rw-r--r-- | app/workers/gitlab/github_import/import_issue_worker.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/workers/gitlab/github_import/import_issue_worker.rb b/app/workers/gitlab/github_import/import_issue_worker.rb index 8fdc0219ffd..7d6a28f4a96 100644 --- a/app/workers/gitlab/github_import/import_issue_worker.rb +++ b/app/workers/gitlab/github_import/import_issue_worker.rb @@ -16,6 +16,10 @@ module Gitlab def object_type :issue end + + def increment_object_counter?(object) + !object.pull_request? + end end end end |