diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-18 12:17:45 +0100 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2016-12-18 12:24:37 +0100 |
commit | 6de079a5af328d26d7cbc8daf3367d16c311fddb (patch) | |
tree | 61ef4718e0fe10b8da0c6103876fae739f4e9ee8 /app/workers | |
parent | c4ffffbeedda400a85951ca4fc74ce1d54c96032 (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.rb | 12 |
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 |