about summary refs log tree commit diff
path: root/app/workers/scheduler
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2020-02-15 13:36:25 -0600
committermultiple creatures <dev@multiple-creature.party>2020-02-15 13:36:25 -0600
commit864d62fdeb33520ff891961ffe18d279e284a863 (patch)
treec86b1cb8fb6c03549992782ec173aef547bca3e7 /app/workers/scheduler
parent28960db85c695897236ab29087b53f620759133b (diff)
remove unneeded `instance_actor` proprety in janitor
Diffstat (limited to 'app/workers/scheduler')
-rw-r--r--app/workers/scheduler/janitor_scheduler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/workers/scheduler/janitor_scheduler.rb b/app/workers/scheduler/janitor_scheduler.rb
index c4212e9f5..28647e17d 100644
--- a/app/workers/scheduler/janitor_scheduler.rb
+++ b/app/workers/scheduler/janitor_scheduler.rb
@@ -97,7 +97,7 @@ class Scheduler::JanitorScheduler
   end
 
   def abandoned_accounts
-    Account.reorder(nil).where(id: abandoned_account_ids, instance_actor: false, actor_type: %w(Person Group))
+    Account.reorder(nil).where(id: abandoned_account_ids, actor_type: %w(Person Group))
   end
 
   def abandoned_users