diff options
| author | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-04-04 13:42:14 +0400 |
|---|---|---|
| committer | Andrew Dolgov <fox@madoka.volgo-balt.ru> | 2011-04-04 13:42:14 +0400 |
| commit | 364e3c859d7d6c039438533f3f04939778509cef (patch) | |
| tree | 126ce40f04cfd0ed39fa8c8e67b6c323cd8b4ef8 | |
| parent | 9b1a708165dfa2fbc6693a69909b4f0e361477dd (diff) | |
generate_syndicated_feed: only enable pubsub hub for published feed
| -rw-r--r-- | functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php index 67edc5789..3ed2a1966 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'); } |