allow dfrn_deliver to undo a mark_for_death just in case the poller is consistently getting killed.
This commit is contained in:
parent
1dd33770ed
commit
b3bf48782f
1 changed files with 5 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue