aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2019-11-15 10:01:21 +0000
committerMario <mario@mariovavti.com>2019-11-15 11:03:54 +0100
commit05604e4bd2f6491ebd567e8583acf820e5459514 (patch)
tree1f4d65ee4185e4e3e4dcc868d898fa696a108243 /include
parentfd7d497cd1ba8846770425fc4dcb07c7cf5bbb85 (diff)
downloadvolse-hubzilla-05604e4bd2f6491ebd567e8583acf820e5459514.tar.gz
volse-hubzilla-05604e4bd2f6491ebd567e8583acf820e5459514.tar.bz2
volse-hubzilla-05604e4bd2f6491ebd567e8583acf820e5459514.zip
onepoll: do not update dead feeds
(cherry picked from commit 5a6b14f8787927ee6ea99c622d02875811d3a74a)
Diffstat (limited to 'include')
-rw-r--r--include/feedutils.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/feedutils.php b/include/feedutils.php
index 9f4d732bb..6d14eb5c4 100644
--- a/include/feedutils.php
+++ b/include/feedutils.php
@@ -1760,7 +1760,11 @@ function handle_feed($uid, $abook_id, $url) {
if($z['success']) {
consume_feed($z['body'], $channel, $x[0], 1);
consume_feed($z['body'], $channel, $x[0], 2);
+ return true;
}
+
+ return false;
+
}