summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-04 13:42:14 +0400
committerAndrew Dolgov <[email protected]>2011-04-04 13:42:14 +0400
commit364e3c859d7d6c039438533f3f04939778509cef (patch)
tree126ce40f04cfd0ed39fa8c8e67b6c323cd8b4ef8 /functions.php
parent9b1a708165dfa2fbc6693a69909b4f0e361477dd (diff)
generate_syndicated_feed: only enable pubsub hub for published feed
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php2
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');
}