From 99be0afbb14d34c35de756f1d1db0a53e59c8e95 Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Thu, 27 Feb 2020 14:11:49 -0600 Subject: update moderation helper to use new `SuspendAccountService` syntax --- app/helpers/moderation_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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! -- cgit