mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-10 23:28:04 -04:00
Tweak suspect list to make sure any accounts listed are older than 1
day.
This commit is contained in:
parent
39fde5b9fb
commit
5f3ac2a0cb
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue