From 5a6b14f8787927ee6ea99c622d02875811d3a74a Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 15 Nov 2019 10:01:21 +0000 Subject: onepoll: do not update dead feeds --- include/feedutils.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') 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; + } -- cgit v1.2.3