]> git.mxchange.org Git - friendica.git/blobdiff - include/pubsubpublish.php
Fixes E_WARNING from foreach() because count() seem to return TRUE even when $r is...
[friendica.git] / include / pubsubpublish.php
index 07972b7a8c4fc6570076c7b3f488f22543f48e46..0ac50aaaa76a44e94a4839ce977abbb0d0fc0293 100644 (file)
@@ -13,6 +13,9 @@ function handle_pubsubhubbub() {
        $r = q("SELECT * FROM `push_subscriber` WHERE `push` > 0");
 
        foreach($r as $rr) {
+
+               logger("Generate feed for user ".$rr['nickname']." - last updated ".$rr['last_update'], LOGGER_DEBUG);
+
                $params = ostatus_feed($a, $rr['nickname'], $rr['last_update']);
                $hmac_sig = hash_hmac("sha1", $params, $rr['secret']);