1
0
Fork 0

can no longer avoid recording the curl response code

This commit is contained in:
Mike Macgirvin 2010-10-13 22:01:23 -07:00
commit d96ae0f9f5
3 changed files with 23 additions and 5 deletions

View file

@ -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();