summaryrefslogtreecommitdiff
path: root/js/prefs.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2013-03-25 20:26:43 +0400
committerAndrew Dolgov <[email protected]>2013-03-25 20:26:43 +0400
commit45b9c6fbcb1a83fdc2b335b8df89066146e5f8d6 (patch)
treeff4830afd4d2361fc1b9211dc9214cfc1783305c /js/prefs.js
parent89aca598e34a51c4d0f21dfd0422d6c37a91cea8 (diff)
remove unused clearTwitterCredentials
Diffstat (limited to 'js/prefs.js')
-rw-r--r--js/prefs.js21
1 files changed, 0 insertions, 21 deletions
diff --git a/js/prefs.js b/js/prefs.js
index 082f62679..7d12e4202 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 {