]> git.wh0rd.org - tt-rss.git/blobdiff - js/functions.js
move db-updater functionality to public, remove db-updater.php
[tt-rss.git] / js / functions.js
index 560742598e1bc3815d22bb890841c94667ea509a..82cfa90549d27dccf83f1065ebea817ec2c365b2 100644 (file)
@@ -508,7 +508,7 @@ function fatalError(code, msg, ext_info) {
                if (code == 6) {
                        window.location.href = "index.php";
                } else if (code == 5) {
-                       window.location.href = "db-updater.php";
+                       window.location.href = "public.php?op=dbupdate";
                } else {
 
                        if (msg == "") msg = "Unknown error";
@@ -1357,7 +1357,7 @@ function genUrlChangeKey(feed, is_cat) {
 
                        notify_progress("Trying to change address...", true);
 
-                       var query = "?op=rpc&method=regenFeedKey&id=" + param_escape(feed) +
+                       var query = "?op=pref-feeds&method=regenFeedKey&id=" + param_escape(feed) +
                                "&is_cat=" + param_escape(is_cat);
 
                        new Ajax.Request("backend.php", {