mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Staff action logs explain when system is deleting a post because author marked it to be deleted
This commit is contained in:
@@ -29,7 +29,7 @@ class PostDestroyer
|
||||
pa.post_action_type_id IN (?)
|
||||
)", PostActionType.notify_flag_type_ids)
|
||||
.each do |post|
|
||||
PostDestroyer.new(Discourse.system_user, post).destroy
|
||||
PostDestroyer.new(Discourse.system_user, post, {context: I18n.t('remove_posts_deleted_by_author')}).destroy
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user