about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/workers/scheduler/database_cleanup_scheduler.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/workers/scheduler/database_cleanup_scheduler.rb b/app/workers/scheduler/database_cleanup_scheduler.rb
index 8910d6831..dfc40959d 100644
--- a/app/workers/scheduler/database_cleanup_scheduler.rb
+++ b/app/workers/scheduler/database_cleanup_scheduler.rb
@@ -7,7 +7,6 @@ class Scheduler::DatabaseCleanupScheduler
 
   def perform
     Conversation.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all
-    AccountConversation.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all
     Tag.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all
     StatusStat.left_outer_joins(:statuses).where(statuses: { id: nil }).destroy_all
     Setting.rewhere(thing_type: 'User').where.not(thing_id: User.select(:id)).destroy_all