1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 12:21:29 +00:00

generate_syndicated_feed: only enable pubsub hub for published feed

This commit is contained in:
Andrew Dolgov
2011-04-04 13:42:14 +04:00
parent 9b1a708165
commit 364e3c859d

View File

@@ -3665,7 +3665,7 @@
$tpl->setVariable('VERSION', VERSION);
$tpl->setVariable('FEED_URL', htmlspecialchars($feed_self_url));
if (PUBSUBHUBBUB_HUB) {
if (PUBSUBHUBBUB_HUB && $feed == -2) {
$tpl->setVariable('HUB_URL', htmlspecialchars(PUBSUBHUBBUB_HUB));
$tpl->addBlock('feed_hub');
}