Tweak suspect list to make sure any accounts listed are older than 1
day.
This commit is contained in:
parent
39fde5b9fb
commit
5f3ac2a0cb
|
@ -49,6 +49,7 @@ class AdminUserIndexQuery
|
||||||
.references(:user_stats)
|
.references(:user_stats)
|
||||||
.includes(:user_profile)
|
.includes(:user_profile)
|
||||||
.where("COALESCE(user_profiles.bio_raw, '') != ''")
|
.where("COALESCE(user_profiles.bio_raw, '') != ''")
|
||||||
|
.where('users.created_at <= ?', 1.day.ago)
|
||||||
.where(where_conds.map {|c| "(#{c})"}.join(" OR "))
|
.where(where_conds.map {|c| "(#{c})"}.join(" OR "))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue