debugging for omb

darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz
This commit is contained in:
Evan Prodromou 2008-09-07 15:34:02 -04:00
parent f02b5bf7dd
commit c660a3438f
1 changed files with 4 additions and 0 deletions

View File

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