generate_syndicated_feed: only enable pubsub hub for published feed
This commit is contained in:
parent
9b1a708165
commit
364e3c859d
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue