aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-13 22:01:23 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-13 22:01:23 -0700
commitd96ae0f9f59711112801d478abba7f7120ec0ad3 (patch)
tree1d5699498fc52c205f6b858e3acc2e916b2a5ad3 /include
parentbf77043b5137dcfe2d59a49d300e01be3e6e3674 (diff)
downloadvolse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.tar.gz
volse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.tar.bz2
volse-hubzilla-d96ae0f9f59711112801d478abba7f7120ec0ad3.zip
can no longer avoid recording the curl response code
Diffstat (limited to 'include')
-rw-r--r--include/notifier.php3
1 files changed, 3 insertions, 0 deletions
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();