can no longer avoid recording the curl response code
This commit is contained in:
parent
bf77043b51
commit
d96ae0f9f5
3 changed files with 23 additions and 5 deletions
|
@ -316,6 +316,9 @@
|
|||
if((strlen($hub)) && ($notify_hub)) {
|
||||
$params = 'hub.mode=publish&hub.url=' . urlencode($a->get_baseurl() . '/dfrn_poll/' . $owner['nickname'] );
|
||||
post_url($hub,$params);
|
||||
if($debugging) {
|
||||
file_put_contents('pubsub.out', "\n\n" . "Pinged hub at " . datetime_convert() . "\n" . "Hub returned " . $a->get_curl_code() . "\n\n" , FILE_APPEND);
|
||||
}
|
||||
}
|
||||
|
||||
killme();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue