summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2011-04-01 17:20:54 +0400
committerAndrew Dolgov <[email protected]>2011-04-01 17:20:54 +0400
commit6eb8d32d9640b1dae136baf7719dee0006bf34ed (patch)
tree64deb8c8cf5f55f23b69127b6afc6499ea63df13 /functions.php
parent2fcec4c4297fca5dbbea2f312886b5c2d24a7a43 (diff)
update_rss_feed: block pubsub subscription requests when CURL is not available
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 46502cd1a..026ea5750 100644
--- a/functions.php
+++ b/functions.php
@@ -797,7 +797,7 @@
}
}
- if ($feed_hub_url) {
+ if ($feed_hub_url && function_exists('curl_init')) {
$callback_url = get_self_url_prefix() .
"/backend.php?op=pubsub&id=$feed";