Tweak suspect list to make sure any accounts listed are older than 1

day.
This commit is contained in:
Robin Ward 2014-12-03 12:21:43 -05:00
parent 39fde5b9fb
commit 5f3ac2a0cb
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ class AdminUserIndexQuery
.references(:user_stats)
.includes(:user_profile)
.where("COALESCE(user_profiles.bio_raw, '') != ''")
.where('users.created_at <= ?', 1.day.ago)
.where(where_conds.map {|c| "(#{c})"}.join(" OR "))
end