Code cleanup and first steps for a better comment distribition with DFRN and OStatus

This commit is contained in:
Michael Vogel 2015-12-13 12:15:45 +01:00
parent 169088b243
commit 15063c8d5b
4 changed files with 30 additions and 49 deletions

View file

@ -13,7 +13,6 @@ function handle_pubsubhubbub() {
$r = q("SELECT * FROM `push_subscriber` WHERE `push` > 0");
foreach($r as $rr) {
//$params = get_feed_for($a, '', $rr['nickname'], $rr['last_update'], 0, true);
$params = ostatus_feed($a, $rr['nickname'], $rr['last_update']);
$hmac_sig = hash_hmac("sha1", $params, $rr['secret']);