diff options
author | Francisco Lopez <fjlopez@gitlab.com> | 2017-12-04 13:20:20 +0300 |
---|---|---|
committer | Francisco Lopez <fjlopez@gitlab.com> | 2017-12-04 13:20:20 +0300 |
commit | 7f2b6b11bd7aaeab73f6f1b5431e9d8f3f034cb6 (patch) | |
tree | ce82b2767eb1e5b06fede6751bebae14b11796de /app/services/projects/open_issues_count_service.rb | |
parent | 979056e964827a9d6efc979843ac567a3dd5cdfd (diff) |
Moving query to base count service
Diffstat (limited to 'app/services/projects/open_issues_count_service.rb')
-rw-r--r-- | app/services/projects/open_issues_count_service.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/services/projects/open_issues_count_service.rb b/app/services/projects/open_issues_count_service.rb index ab1c477936a..a975a06a05c 100644 --- a/app/services/projects/open_issues_count_service.rb +++ b/app/services/projects/open_issues_count_service.rb @@ -2,10 +2,6 @@ module Projects # Service class for counting and caching the number of open issues of a # project. class OpenIssuesCountService < Projects::CountService - def relation_for_count - self.class.query(@project.id) - end - def cache_key_name 'open_issues_count' end |