mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: Clarify Reviewable User Actions
"Approve" is now "Approve User" and "Delete" is a dropdown with a choice that allows you to block.
This commit is contained in:
@@ -115,7 +115,7 @@ class UserDestroyer
|
||||
|
||||
# After the user is deleted, remove the reviewable
|
||||
if reviewable = Reviewable.pending.find_by(target: user)
|
||||
reviewable.perform(@actor, :reject)
|
||||
reviewable.perform(@actor, :reject_user_delete)
|
||||
end
|
||||
|
||||
result
|
||||
|
||||
Reference in New Issue
Block a user