Remove unused private method

This commit is contained in:
benji 2016-02-17 15:20:12 +01:00
parent 03a86f89af
commit 8306271bd9

View file

@ -1,6 +1,4 @@
class Statistics < Rails::Application class Statistics < Rails::Application
def shameful_users def shameful_users
User.humans User.humans
.where('-balance > :amount', amount: config.shameful_balance) .where('-balance > :amount', amount: config.shameful_balance)
@ -32,12 +30,5 @@ class Statistics < Rails::Application
.count .count
.take([shameful_users.count, 4].max) .take([shameful_users.count, 4].max)
end end
private
def zeus_balance
User.zeus.balance
end
end end