From a08e724476f47b85de9bb334eeadaf882a7a23ee Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Fri, 25 Mar 2016 02:13:30 +0100 Subject: Fix subscriptions:clear task, refactor feeds, refactor streamable activites and atom feed generation to some extent, as well as the way mentions are stored --- lib/tasks/subscriptions.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/tasks') diff --git a/lib/tasks/subscriptions.rake b/lib/tasks/subscriptions.rake index 875bd8ae6..77cbd94d3 100644 --- a/lib/tasks/subscriptions.rake +++ b/lib/tasks/subscriptions.rake @@ -5,7 +5,7 @@ namespace :subscriptions do accounts = Account.where('(select count(f.id) from follows as f where f.target_account_id = accounts.id) = 0').where.not(domain: nil) accounts.each do |a| - a.subscription(api_subscription_url(a.id)).unsubscribe + a.subscription('').unsubscribe a.update!(verify_token: '', secret: '') end end -- cgit