app/services/sufia/statistics/system_stats.rb in sufia-7.1.0 vs app/services/sufia/statistics/system_stats.rb in sufia-7.2.0
- old
+ new
@@ -37,15 +37,9 @@
return ::User.order('created_at DESC').limit(limit) if start_date.blank?
::User.recent_users start_date, end_date
end
- # returns [Number] the number of currently registered users
- #
- def users_count
- ::User.count
- end
-
private
def validate_limit(count)
if count.blank? || count < 5
5