Fix account delete form not accepting password, update suspended (#3745)
account before removing content for quicker feedback to end-users
This commit is contained in:
@ -5,8 +5,8 @@ class SuspendAccountService < BaseService
|
||||
@account = account
|
||||
|
||||
purge_user if remove_user
|
||||
purge_content
|
||||
purge_profile
|
||||
purge_content
|
||||
unsubscribe_push_subscribers
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user