diff options
author | Andrew Dolgov <[email protected]> | 2011-04-01 17:20:54 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2011-04-01 17:20:54 +0400 |
commit | 6eb8d32d9640b1dae136baf7719dee0006bf34ed (patch) | |
tree | 64deb8c8cf5f55f23b69127b6afc6499ea63df13 /functions.php | |
parent | 2fcec4c4297fca5dbbea2f312886b5c2d24a7a43 (diff) |
update_rss_feed: block pubsub subscription requests when CURL is not available
Diffstat (limited to 'functions.php')
-rw-r--r-- | functions.php | 2 |
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"; |