about summary refs log tree commit diff
path: root/app/helpers/moderation_helper.rb
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-27 14:11:49 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-27 14:11:49 -0600
commit99be0afbb14d34c35de756f1d1db0a53e59c8e95 (patch)
tree47ed468bc3447f329e1b48f2f40df710f334ebe1 /app/helpers/moderation_helper.rb
parent1213311562928551918495a69e4c6f87236f6a66 (diff)
update moderation helper to use new `SuspendAccountService` syntax
Diffstat (limited to 'app/helpers/moderation_helper.rb')
-rw-r--r--app/helpers/moderation_helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/helpers/moderation_helper.rb b/app/helpers/moderation_helper.rb
index 7db3ba210..088ac0e83 100644
--- a/app/helpers/moderation_helper.rb
+++ b/app/helpers/moderation_helper.rb
@@ -45,7 +45,7 @@ module ModerationHelper
     when 'unsilence'
       acct.unsilence!
     when 'suspend'
-      SuspendAccountService.new.call(acct, include_user: true)
+      SuspendAccountService.new.call(acct, reserve_username: false, reserve_email: false)
       return true
     when 'unsuspend'
       acct.unsuspend!