diff options
Diffstat (limited to 'app/workers/activitypub/post_upgrade_worker.rb')
-rw-r--r-- | app/workers/activitypub/post_upgrade_worker.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/app/workers/activitypub/post_upgrade_worker.rb b/app/workers/activitypub/post_upgrade_worker.rb deleted file mode 100644 index 4154b8582..000000000 --- a/app/workers/activitypub/post_upgrade_worker.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -class ActivityPub::PostUpgradeWorker - include Sidekiq::Worker - - sidekiq_options queue: 'pull' - - def perform(domain) - Account.where(domain: domain) - .where(protocol: :ostatus) - .where.not(last_webfingered_at: nil) - .in_batches - .update_all(last_webfingered_at: nil) - end -end |