mirror of
https://github.com/discourse/discourse.git
synced 2025-09-12 21:10:47 +08:00
Used the term suspended instead of banned.
This commit is contained in:
parent
706f96af0a
commit
0c6f794eb0
57 changed files with 318 additions and 312 deletions
|
@ -19,8 +19,8 @@ class UserHistory < ActiveRecord::Base
|
|||
:notified_about_avatar,
|
||||
:notified_about_sequential_replies,
|
||||
:notitied_about_dominating_topic,
|
||||
:ban_user,
|
||||
:unban_user)
|
||||
:suspend_user,
|
||||
:unsuspend_user)
|
||||
end
|
||||
|
||||
# Staff actions is a subset of all actions, used to audit actions taken by staff users.
|
||||
|
@ -30,8 +30,8 @@ class UserHistory < ActiveRecord::Base
|
|||
:change_site_setting,
|
||||
:change_site_customization,
|
||||
:delete_site_customization,
|
||||
:ban_user,
|
||||
:unban_user]
|
||||
:suspend_user,
|
||||
:unsuspend_user]
|
||||
end
|
||||
|
||||
def self.staff_action_ids
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue