From: Andrew Dolgov Date: Mon, 4 Apr 2011 09:42:14 +0000 (+0400) Subject: generate_syndicated_feed: only enable pubsub hub for published feed X-Git-Tag: 1.5.3~71 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=364e3c859d7d6c039438533f3f04939778509cef;p=tt-rss.git generate_syndicated_feed: only enable pubsub hub for published feed --- diff --git a/functions.php b/functions.php index 67edc578..3ed2a196 100644 --- a/functions.php +++ b/functions.php @@ -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'); }