mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Used the term suspended instead of banned.
This commit is contained in:
@@ -29,8 +29,8 @@ class AdminUserIndexQuery
|
||||
when 'admins' then @query.where('admin = ?', true)
|
||||
when 'moderators' then @query.where('moderator = ?', true)
|
||||
when 'blocked' then @query.blocked
|
||||
when 'banned' then @query.banned
|
||||
when 'pending' then @query.not_banned.where('approved = false')
|
||||
when 'suspended' then @query.suspended
|
||||
when 'pending' then @query.not_suspended.where('approved = false')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user