Files
danbooru/app/logical/reports/contributors.rb
r888888888 6480864718 fixes #2469
2015-10-15 15:24:24 -07:00

10 lines
293 B
Ruby

require 'statistics2'
module Reports
class Contributors < User
def users
::User.where("users.bit_prefs & ? > 0 and users.post_upload_count >= 250", ::User.flag_value_for("can_upload_free")).order("created_at desc").map {|x| Reports::UserPromotions::User.new(x)}
end
end
end