mirror of
https://github.com/discourse/discourse.git
synced 2026-09-05 04:40:41 -05:00
FEATURE: staff action logs when creating/updating/deleting badges
This commit is contained in:
@@ -72,7 +72,10 @@ class UserHistory < ActiveRecord::Base
|
||||
post_edit: 53,
|
||||
topic_published: 54,
|
||||
recover_topic: 55,
|
||||
post_approved: 56
|
||||
post_approved: 56,
|
||||
create_badge: 57,
|
||||
change_badge: 58,
|
||||
delete_badge: 59,
|
||||
)
|
||||
end
|
||||
|
||||
@@ -123,7 +126,10 @@ class UserHistory < ActiveRecord::Base
|
||||
:post_edit,
|
||||
:topic_published,
|
||||
:recover_topic,
|
||||
:post_approved
|
||||
:post_approved,
|
||||
:create_badge,
|
||||
:change_badge,
|
||||
:delete_badge,
|
||||
]
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user