diff options
author | Valery Sizov <valery@gitlab.com> | 2016-09-06 10:12:55 +0300 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-09-06 10:12:55 +0300 |
commit | 03bed0fbd31b2edc9702ba690bae8c5fc53eb5e5 (patch) | |
tree | 128682cd19a6810b31ded67e7511ba7e54dc907f /lib/gitlab/project_search_results.rb | |
parent | ad599eb65c8ce483a7faaffe226ec7ce53da0f55 (diff) |
Clean up search result classes
Diffstat (limited to 'lib/gitlab/project_search_results.rb')
-rw-r--r-- | lib/gitlab/project_search_results.rb | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/gitlab/project_search_results.rb b/lib/gitlab/project_search_results.rb index 183bd10d6a3..5b9cfaeb2f8 100644 --- a/lib/gitlab/project_search_results.rb +++ b/lib/gitlab/project_search_results.rb @@ -28,11 +28,6 @@ module Gitlab end end - def total_count - @total_count ||= issues_count + merge_requests_count + blobs_count + - notes_count + wiki_blobs_count + commits_count - end - def blobs_count @blobs_count ||= blobs.count end |