From 532bac229a936e69a68c8f6d4ce881815ce9bdb1 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Thu, 10 Dec 2020 15:44:55 -0500 Subject: [PATCH] Updated domains_cli deleteallremote command MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Updated: - domains_cli deleteallremote command --- lib/gabsocial/domains_cli.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/gabsocial/domains_cli.rb b/lib/gabsocial/domains_cli.rb index 8b1f4c47..3a36a222 100644 --- a/lib/gabsocial/domains_cli.rb +++ b/lib/gabsocial/domains_cli.rb @@ -44,7 +44,7 @@ module GabSocial def deleteallremote dry_run = options[:dry_run] ? ' (DRY RUN)' : '' - Account.remote.by_domain_accounts.find_in_batches do |acct| + Account.remote.by_domain_accounts.each do |acct| domain = acct.domain say("\n\n\n - Starting domain block for #{domain} #{dry_run}", :green)