1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 08:25:55 +00:00

move published OPML endpoint to public.php

This commit is contained in:
Andrew Dolgov
2021-02-21 15:16:39 +03:00
parent 2843b99171
commit d1328321be
12 changed files with 110 additions and 111 deletions

View File

@@ -1329,14 +1329,14 @@ class Pref_Feeds extends Handler_Protected {
}
function getOPMLKey() {
print json_encode(["link" => OPML::opml_publish_url()]);
print json_encode(["link" => OPML::get_publish_url()]);
}
function regenOPMLKey() {
$this->update_feed_access_key('OPML:Publish',
false, $_SESSION["uid"]);
print json_encode(["link" => OPML::opml_publish_url()]);
print json_encode(["link" => OPML::get_publish_url()]);
}
function regenFeedKey() {