2022.09-rc
Michael 2019-12-08 21:41:26 +00:00
rodzic da7c06764f
commit 38db4d2132
1 zmienionych plików z 1 dodań i 2 usunięć

Wyświetl plik

@ -1457,6 +1457,7 @@ class Contact extends BaseObject
if (DBA::isResult($contact)) {
$contact_id = $contact["id"];
$update_contact = false;
// Update the contact every 7 days (Don't update mail or feed contacts)
if (in_array($contact['network'], Protocol::FEDERATED)) {
@ -1477,8 +1478,6 @@ class Contact extends BaseObject
if (DBA::isResult($mailcontact)) {
DBA::update('contact', $mailcontact, ['id' => $contact_id]);
}
$update_contact = false;
}
// Update the contact in the background if needed but it is called by the frontend