]> git.mxchange.org Git - friendica.git/commitdiff
Update src/Model/ContactRelation.php
authorMichael Vogel <icarus@dabo.de>
Sun, 26 Jul 2020 21:39:47 +0000 (23:39 +0200)
committerGitHub <noreply@github.com>
Sun, 26 Jul 2020 21:39:47 +0000 (23:39 +0200)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/ContactRelation.php

index dba1d53c898bc053f01a2e78a605d2415220f8cf..06c25059fa0c459799f1de0365597137852104d1 100644 (file)
@@ -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;
                }