remove unused clearTwitterCredentials
This commit is contained in:
parent
89aca598e3
commit
45b9c6fbcb
1 changed files with 0 additions and 21 deletions
21
js/prefs.js
21
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 {
|
||||
|
|
Loading…
Reference in a new issue