mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 10:06:45 +08:00
FIX: When deleting a user via queued posts, block urls, ip and email
This commit is contained in:
@ -123,6 +123,9 @@ class ReviewableQueuedPost < Reviewable
|
||||
delete_options = {
|
||||
context: I18n.t('reviewables.actions.delete_user.reason'),
|
||||
delete_posts: true,
|
||||
block_urls: true,
|
||||
block_email: true,
|
||||
block_ip: true,
|
||||
delete_as_spammer: true
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user