1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-02-10 16:01:33 +00:00

make published OPML use common secret key code

This commit is contained in:
Andrew Dolgov
2010-11-08 19:36:24 +03:00
parent f29033f86c
commit 2e7f046f65
4 changed files with 10 additions and 14 deletions

View File

@@ -163,10 +163,6 @@
print "<div id=\"infoBoxTitle\">".__('Public OPML URL')."</div>";
print "<div class=\"infoBoxContents\">";
if (!get_pref($link, "_PREFS_PUBLISH_KEY"))
set_pref($link, "_PREFS_PUBLISH_KEY",
sha1(uniqid(rand(), true)));
$url_path = opml_publish_url($link);
print __("Your Public OPML URL is:");