From: Andrew Dolgov Date: Mon, 25 Mar 2013 16:26:43 +0000 (+0400) Subject: remove unused clearTwitterCredentials X-Git-Tag: 1.7.6~289 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=45b9c6fbcb1a83fdc2b335b8df89066146e5f8d6;hp=89aca598e34a51c4d0f21dfd0422d6c37a91cea8;p=tt-rss.git remove unused clearTwitterCredentials --- diff --git a/js/prefs.js b/js/prefs.js index 082f6267..7d12e420 100644 --- a/js/prefs.js +++ b/js/prefs.js @@ -1706,27 +1706,6 @@ function editLabel(id, event) { } } -function clearTwitterCredentials() { - try { - var ok = confirm(__("This will clear your stored authentication information for Twitter. Continue?")); - - if (ok) { - notify_progress("Clearing credentials..."); - - var query = "?op=pref-feeds&method=remtwitterinfo"; - - new Ajax.Request("backend.php", { - parameters: query, - onComplete: function(transport) { - notify_info("Twitter credentials have been cleared."); - updateFeedList(); - } }); - } - - } catch (e) { - exception_error("clearTwitterCredentials", e); - } -} function customizeCSS() { try {