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:
Eugen Rochko authored and GitHub committed 2017-06-14 20:30:12 +02:00
1 parent 98eacb2238
commit 91c71471ab
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -5,8 +5,8 @@ class SuspendAccountService < BaseService
@account = account
purge_user if remove_user
purge_content
purge_profile
purge_content
unsubscribe_push_subscribers
end