From 45b9c6fbcb1a83fdc2b335b8df89066146e5f8d6 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 25 Mar 2013 20:26:43 +0400 Subject: [PATCH] remove unused clearTwitterCredentials --- js/prefs.js | 21 --------------------- 1 file changed, 21 deletions(-) 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 { -- 2.39.5