about summary refs log tree commit diff
path: root/app/workers
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-12-18 12:17:45 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-12-18 12:24:37 +0100
commit6de079a5af328d26d7cbc8daf3367d16c311fddb (patch)
tree61ef4718e0fe10b8da0c6103876fae739f4e9ee8 /app/workers
parentc4ffffbeedda400a85951ca4fc74ce1d54c96032 (diff)
Removing external hub completely, fix #333 fixing digit-only hashtags,
removing web app capability from non-webapp pages
Diffstat (limited to 'app/workers')
-rw-r--r--app/workers/hub_ping_worker.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/app/workers/hub_ping_worker.rb b/app/workers/hub_ping_worker.rb
deleted file mode 100644
index 14a151ba0..000000000
--- a/app/workers/hub_ping_worker.rb
+++ /dev/null
@@ -1,12 +0,0 @@
-# frozen_string_literal: true
-
-class HubPingWorker
-  include Sidekiq::Worker
-  include RoutingHelper
-
-  def perform(account_id)
-    account = Account.find(account_id)
-    return unless account.local?
-    OStatus2::Publication.new(account_url(account, format: 'atom'), [Rails.configuration.x.hub_url]).publish
-  end
-end