diff options
author | ThibG <thib@sitedethib.com> | 2019-03-19 16:33:30 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2019-03-19 16:33:30 +0100 |
commit | 1217185cfa7fa13e78f979e8723fc82f93a28205 (patch) | |
tree | 5ad5e7e7dcc268240fbe968338bace2382778d4b /app/controllers/admin | |
parent | d041b7a1e77f9e2a9122d8b04d247673c4fda3db (diff) |
Do not distribute Delete when rejecting unapproved accounts (#10321)
Diffstat (limited to 'app/controllers/admin')
-rw-r--r-- | app/controllers/admin/accounts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/admin/accounts_controller.rb b/app/controllers/admin/accounts_controller.rb index e160c603a..e7795e95c 100644 --- a/app/controllers/admin/accounts_controller.rb +++ b/app/controllers/admin/accounts_controller.rb @@ -53,7 +53,7 @@ module Admin def reject authorize @account.user, :reject? - SuspendAccountService.new.call(@account, including_user: true, destroy: true) + SuspendAccountService.new.call(@account, including_user: true, destroy: true, skip_distribution: true) redirect_to admin_accounts_path(pending: '1') end |