From 6de079a5af328d26d7cbc8daf3367d16c311fddb Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Sun, 18 Dec 2016 12:17:45 +0100 Subject: Removing external hub completely, fix #333 fixing digit-only hashtags, removing web app capability from non-webapp pages --- app/workers/hub_ping_worker.rb | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 app/workers/hub_ping_worker.rb (limited to 'app/workers') 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 -- cgit