parent
cc0c1674f0
commit
58108b4481
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ class InstancePresenter
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_count
|
def user_count
|
||||||
Rails.cache.fetch('user_count') { User.confirmed.count }
|
Rails.cache.fetch('user_count') { User.confirmed.joins(:account).merge(Account.without_suspended).count }
|
||||||
end
|
end
|
||||||
|
|
||||||
def status_count
|
def status_count
|
||||||
|
|
Loading…
Reference in a new issue