From: friendica Date: Wed, 20 Jun 2012 03:59:22 +0000 (-0700) Subject: allow dfrn_deliver to undo a mark_for_death just in case the poller is consistently... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3bf48782fc9cc768645b3e08543799ccc1c743b;p=friendica.git allow dfrn_deliver to undo a mark_for_death just in case the poller is consistently getting killed. --- diff --git a/include/items.php b/include/items.php index 05134ef8f5..73812978a9 100755 --- a/include/items.php +++ b/include/items.php @@ -1264,6 +1264,11 @@ function dfrn_deliver($owner,$contact,$atom, $dissolve = false) { return 3; } + if($contact['term-date'] != '0000-00-00 00:00:00') { + logger("dfrn_deliver: $url back from the dead - removing mark for death"); + unmark_for_death($contact); + } + $res = parse_xml_string($xml); return $res->status;