summaryrefslogtreecommitdiff
path: root/lib/omb.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-09-07 15:34:02 -0400
committerEvan Prodromou <evan@prodromou.name>2008-09-07 15:34:02 -0400
commitc660a3438f6b73f9fdde66abd476775f058ab31b (patch)
tree5cf22eea5849ab19dc16af0ceed60ee9241f5fd1 /lib/omb.php
parentf02b5bf7ddcdffdd45cf9bb1a2eea4a23d12095f (diff)
debugging for omb
darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz
Diffstat (limited to 'lib/omb.php')
-rw-r--r--lib/omb.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/omb.php b/lib/omb.php
index d4f53c332..28bffea13 100644
--- a/lib/omb.php
+++ b/lib/omb.php
@@ -126,8 +126,12 @@ function omb_broadcast_remote_subscribers($notice) {
while ($rp->fetch()) {
if (!$posted[$rp->postnoticeurl]) {
+ common_log(LOG_DEBUG, 'Posting to ' . $rp->postnoticeurl);
if (omb_post_notice_keys($notice, $rp->postnoticeurl, $rp->token, $rp->secret)) {
+ common_log(LOG_DEBUG, 'Finished to ' . $rp->postnoticeurl);
$posted[$rp->postnoticeurl] = TRUE;
+ } else {
+ common_log(LOG_DEBUG, 'Failed posting to ' . $rp->postnoticeurl);
}
}
}