From: Andrew Dolgov Date: Mon, 28 Mar 2011 11:55:50 +0000 (+0400) Subject: prefs, remove obsolete removeSelectedPrefProfiles() X-Git-Tag: 1.5.3~98 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=46a8bd444d2d43db4a24445d4c57339233c4463b;p=tt-rss.git prefs, remove obsolete removeSelectedPrefProfiles() --- diff --git a/prefs.js b/prefs.js index 0e3dced9..9bca57cd 100644 --- a/prefs.js +++ b/prefs.js @@ -464,34 +464,6 @@ function purgeSelectedFeeds() { return false; } -function removeSelectedPrefProfiles() { - - var sel_rows = getSelectedFeedCats(); - - if (sel_rows.length > 0) { - - var ok = confirm(__("Remove selected profiles? Active and default profiles will not be removed.")); - - if (ok) { - notify_progress("Removing selected profiles..."); - - var query = "?op=rpc&subop=remprofiles&ids="+ - param_escape(sel_rows.toString()); - - new Ajax.Request("backend.php", { - parameters: query, - onComplete: function(transport) { - editProfiles(); - } }); - } - - } else { - alert(__("No profiles selected.")); - } - - return false; -} - function userEditCancel() { closeInfoBox(); return false;