Replace User.count -> User.confirmed.count (#2127)
parent
dca0ffa1a1
commit
5ce8a1811a
|
@ -15,7 +15,7 @@ class InstancePresenter
|
||||||
end
|
end
|
||||||
|
|
||||||
def user_count
|
def user_count
|
||||||
Rails.cache.fetch('user_count') { User.count }
|
Rails.cache.fetch('user_count') { User.confirmed.count }
|
||||||
end
|
end
|
||||||
|
|
||||||
def status_count
|
def status_count
|
||||||
|
|
Loading…
Reference in New Issue