diff options
author | manojmj <mmj@gitlab.com> | 2019-08-30 19:03:57 +0530 |
---|---|---|
committer | manojmj <mmj@gitlab.com> | 2019-08-31 01:01:18 +0530 |
commit | 9af1cd11d65b5129f780cd9f1da6b38ce58efe78 (patch) | |
tree | 4b0e52e8c5fdb097c9bfa04dda1edc5057f92d1c /lib/api/entities.rb | |
parent | 69a4490793d29f4bff62029fea5e92cd18ec387d (diff) | |
download | gitlab-ce-test-51123.tar.gz |
Do not add Project, User, Group counts in APItest-51123
Diffstat (limited to 'lib/api/entities.rb')
-rw-r--r-- | lib/api/entities.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/api/entities.rb b/lib/api/entities.rb index e1826a2dd93..a08ff9d3be5 100644 --- a/lib/api/entities.rb +++ b/lib/api/entities.rb @@ -1199,18 +1199,6 @@ module API approximate_count_with_delimiters(counts, ::Milestone) end - expose :users do |counts| - approximate_count_with_delimiters(counts, ::User) - end - - expose :projects do |counts| - approximate_count_with_delimiters(counts, ::Project) - end - - expose :groups do |counts| - approximate_count_with_delimiters(counts, ::Group) - end - expose :active_users do |_| number_with_delimiter(::User.active.count) end |