From: Michael Vogel Date: Sun, 26 Jul 2020 21:39:47 +0000 (+0200) Subject: Update src/Model/ContactRelation.php X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab04227ce3eb45142190c6a8410cf1d8ac07735e;p=friendica.git Update src/Model/ContactRelation.php Co-authored-by: Hypolite Petovan --- diff --git a/src/Model/ContactRelation.php b/src/Model/ContactRelation.php index dba1d53c89..06c25059fa 100644 --- a/src/Model/ContactRelation.php +++ b/src/Model/ContactRelation.php @@ -95,7 +95,8 @@ class ContactRelation } } } elseif ($contact['created'] > DateTimeFormat::utc('now - 1 day')) { - Logger::info('Newly created contacs are not discovered to avoid DDoS attacks.', ['id' => $contact['id'], 'url' => $url, 'discovery' => $contact['created']]); + // Newly created contacts are not discovered to avoid DDoS attacks + Logger::info('No discovery - Contact record is less than a day old.', ['id' => $contact['id'], 'url' => $url, 'discovery' => $contact['created']]); return; }