mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 14:07:30 +08:00
FEATURE: add staff action logs for watched words (#13574)
This commit is contained in:
@ -114,7 +114,9 @@ class UserHistory < ActiveRecord::Base
|
||||
topic_archived: 93,
|
||||
topic_unarchived: 94,
|
||||
post_staff_note_create: 95,
|
||||
post_staff_note_destroy: 96
|
||||
post_staff_note_destroy: 96,
|
||||
watched_word_create: 97,
|
||||
watched_word_destroy: 98
|
||||
)
|
||||
end
|
||||
|
||||
@ -205,7 +207,9 @@ class UserHistory < ActiveRecord::Base
|
||||
:topic_archived,
|
||||
:topic_unarchived,
|
||||
:post_staff_note_create,
|
||||
:post_staff_note_destroy
|
||||
:post_staff_note_destroy,
|
||||
:watched_word_create,
|
||||
:watched_word_destroy
|
||||
]
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user