aboutsummaryrefslogtreecommitdiffstats
path: root/include/poller.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/poller.php')
-rw-r--r--include/poller.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/poller.php b/include/poller.php
index b9ef0d93a..fc77946f9 100644
--- a/include/poller.php
+++ b/include/poller.php
@@ -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()),