parent
c35c13ffba
commit
c8c8c873f4
1 changed files with 2 additions and 0 deletions
|
@ -117,6 +117,8 @@ class Form::AccountBatch
|
||||||
accounts.find_each do |account|
|
accounts.find_each do |account|
|
||||||
if account.user_pending?
|
if account.user_pending?
|
||||||
reject_account(account)
|
reject_account(account)
|
||||||
|
elsif account.suspended? && account.remote_pending
|
||||||
|
reject_remote_account(account)
|
||||||
else
|
else
|
||||||
suspend_account(account)
|
suspend_account(account)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue