]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.js
replace old-style published feed with universal secretkey-based approach used for...
[tt-rss.git] / prefs.js
index a6febd5282270057493c6a3b31b71022f7b1fbb3..5ba267b775e1cd07466695e87f22721f5fd16b88 100644 (file)
--- a/prefs.js
+++ b/prefs.js
@@ -1569,43 +1569,6 @@ function feedlistToggleSLAT() {
        updateFeedList()
 }
 
-function pubRegenKey() {
-
-       try {
-               var ok = confirm(__("Replace current publishing address with a new one?"));
-       
-               if (ok) {
-       
-                       notify_progress("Trying to change address...", true);
-       
-                       var query = "?op=rpc&subop=regenPubKey";
-       
-                       new Ajax.Request("backend.php", {
-                               parameters: query,
-                               onComplete: function(transport) {
-                                               var new_link = transport.responseXML.getElementsByTagName("link")[0];
-       
-                                               var e = $('pub_feed_url');
-       
-                                               if (new_link) {
-                                                       e.href = new_link.firstChild.nodeValue;
-                                                       e.innerHTML = new_link.firstChild.nodeValue;
-       
-                                                       new Effect.Highlight(e);
-
-                                                       notify('');
-       
-                                               } else {
-                                                       notify_error("Could not change feed URL.");
-                                               }
-                               } });
-               }
-       } catch (e) {
-               exception_error("pubRegenKey", e);
-       }
-       return false;
-}
-
 function opmlRegenKey() {
 
        try {