Fix monthly and halfyear active users count

This commit is contained in:
Flaburgan 2015-01-26 10:03:37 +01:00
parent ccd7561072
commit 69b881f34b

View file

@ -55,11 +55,11 @@ class StatisticsPresenter
end
def monthly_users
@monthly_users ||= User.halfyear_actives.count
@monthly_users ||= User.monthly_actives.count
end
def halfyear_users
@halfyear_users ||= User.monthly_actives.count
@halfyear_users ||= User.halfyear_actives.count
end
def post_counts
@ -122,4 +122,4 @@ class StatisticsPresenter
}
end
end
end