aboutsummaryrefslogtreecommitdiffstats
path: root/include/notifier.php
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-10-26 22:09:13 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-10-26 22:09:13 -0700
commit2028e1695c82685102a7eef7f75094267446a887 (patch)
tree45101cd992941eaf90f3844b49e4cf90fbb8e599 /include/notifier.php
parenteb5e6aae7273fef06a06f983fe78aaad737aa729 (diff)
downloadvolse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.tar.gz
volse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.tar.bz2
volse-hubzilla-2028e1695c82685102a7eef7f75094267446a887.zip
rework the logging interface
Diffstat (limited to 'include/notifier.php')
-rw-r--r--include/notifier.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/notifier.php b/include/notifier.php
index 069f3bdf2..cd75c1fff 100644
--- a/include/notifier.php
+++ b/include/notifier.php
@@ -343,10 +343,7 @@
continue;
$params = 'hub.mode=publish&hub.url=' . urlencode($a->get_baseurl() . '/dfrn_poll/' . $owner['nickname'] );
post_url($h,$params);
- if($debugging) {
- file_put_contents('pubsub.out', "\n\n" . "Pinged hub " . $h . ' at '
- . datetime_convert() . "\n" . "Hub returned " . $a->get_curl_code() . "\n\n" , FILE_APPEND);
- }
+ logger('pubsub: publish: ' . $h . ' returned ' . $a->get_curl_code());
if(count($hubs) > 1)
sleep(7); // try and avoid multiple hubs responding at precisely the same time
}