update_rss_feed: block pubsub subscription requests when CURL is not available
This commit is contained in:
parent
2fcec4c429
commit
6eb8d32d96
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue