]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
debugging for omb
authorEvan Prodromou <evan@prodromou.name>
Sun, 7 Sep 2008 19:34:02 +0000 (15:34 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sun, 7 Sep 2008 19:34:02 +0000 (15:34 -0400)
darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz

lib/omb.php

index d4f53c33222e77ac32d43d8868201e5ef61c99fc..28bffea136486dd35d0d941a784f35fd42e2f045 100644 (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);
                        }
                }
        }