From d96ae0f9f59711112801d478abba7f7120ec0ad3 Mon Sep 17 00:00:00 2001 From: Mike Macgirvin Date: Wed, 13 Oct 2010 22:01:23 -0700 Subject: can no longer avoid recording the curl response code --- include/notifier.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/notifier.php') diff --git a/include/notifier.php b/include/notifier.php index ce4e5fed4..9866c0232 100644 --- a/include/notifier.php +++ b/include/notifier.php @@ -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(); -- cgit v1.2.3