Merge pull request #13124 from ne20002/develop
fix for probe loop in case that network of contact has changedpull/13130/head
commit
a52c1cde9c
|
@ -2682,6 +2682,8 @@ class Contact
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$has_local_data = self::hasLocalData($id, $contact);
|
||||||
|
|
||||||
$uid = $contact['uid'];
|
$uid = $contact['uid'];
|
||||||
unset($contact['uid']);
|
unset($contact['uid']);
|
||||||
|
|
||||||
|
@ -2702,9 +2704,7 @@ class Contact
|
||||||
|
|
||||||
$updated = DateTimeFormat::utcNow();
|
$updated = DateTimeFormat::utcNow();
|
||||||
|
|
||||||
$has_local_data = self::hasLocalData($id, $contact);
|
if (!Probe::isProbable($ret['network']) && !Probe::isProbable($contact['network'])) {
|
||||||
|
|
||||||
if (!Probe::isProbable($ret['network'])) {
|
|
||||||
// Periodical checks are only done on federated contacts
|
// Periodical checks are only done on federated contacts
|
||||||
$failed_next_update = null;
|
$failed_next_update = null;
|
||||||
$success_next_update = null;
|
$success_next_update = null;
|
||||||
|
|
Loading…
Reference in New Issue