diff --git a/app/jobs/scheduled/clean_up_email_logs.rb b/app/jobs/scheduled/clean_up_email_logs.rb index 413aca9d2..30305c4d9 100644 --- a/app/jobs/scheduled/clean_up_email_logs.rb +++ b/app/jobs/scheduled/clean_up_email_logs.rb @@ -10,7 +10,7 @@ module Jobs EmailLog.where(reply_key: nil) .where("created_at < ?", threshold) - .destroy_all + .delete_all end end