about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorabcang <abcang1015@gmail.com>2019-02-06 10:50:52 +0900
committerEugen Rochko <eugen@zeonfederated.com>2019-02-06 02:50:52 +0100
commite186bd2fb0d2d70c0c401d35cd9f6a63bd20eeac (patch)
tree620dfc46744c59dbf5ec2ffdf7042aac89ee7866 /app
parent46e806cd2f14a5e45d66b4c23040855202818984 (diff)
Fix Tombstone.delete_all ArgumentError (#9978)
Diffstat (limited to 'app')
-rw-r--r--app/services/activitypub/process_account_service.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/activitypub/process_account_service.rb b/app/services/activitypub/process_account_service.rb
index 487456f3a..5e3308428 100644
--- a/app/services/activitypub/process_account_service.rb
+++ b/app/services/activitypub/process_account_service.rb
@@ -212,7 +212,7 @@ class ActivityPub::ProcessAccountService < BaseService
   end
 
   def clear_tombstones!
-    Tombstone.delete_all(account_id: @account.id)
+    Tombstone.where(account_id: @account.id).delete_all
   end
 
   def protocol_changed?