From 5b6ea1ef914d0d33516ce59df69637576055ce66 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 16 May 2017 10:41:20 +0300 Subject: remove pubsubhubbub: dead --- js/functions.js | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'js') diff --git a/js/functions.js b/js/functions.js index b33c23dc1..934f69e96 100755 --- a/js/functions.js +++ b/js/functions.js @@ -1123,27 +1123,6 @@ function quickAddFilter() { } -function resetPubSub(feed_id, title) { - - var msg = __("Reset subscription? Tiny Tiny RSS will try to subscribe to the notification hub again on next feed update.").replace("%s", title); - - if (title == undefined || confirm(msg)) { - notify_progress("Loading, please wait..."); - - var query = "?op=pref-feeds&quiet=1&method=resetPubSub&ids=" + feed_id; - - new Ajax.Request("backend.php", { - parameters: query, - onComplete: function(transport) { - dijit.byId("pubsubReset_Btn").attr('disabled', true); - notify_info("Subscription reset."); - } }); - } - - return false; -} - - function unsubscribeFeed(feed_id, title) { var msg = __("Unsubscribe from %s?").replace("%s", title); -- cgit v1.2.3-54-g00ecf