the rest of pubsubhubbub except for the UI that actually turns it on

This commit is contained in:
Mike Macgirvin 2010-09-30 21:38:45 -07:00
parent 632c557008
commit 0d2650b29b
4 changed files with 50 additions and 4 deletions

View file

@ -161,7 +161,13 @@
continue;
consume_feed($xml,$importer,$contact);
consume_feed($xml,$importer,$contact,$hub);
if($contact['usehub'] && strlen($hub)) {
subscribe_to_hub($hub,$importer,$contact);
}
$r = q("UPDATE `contact` SET `last-update` = '%s' WHERE `id` = %d LIMIT 1",
dbesc(datetime_convert()),