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:
@@ -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');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user