]> git.mxchange.org Git - friendica.git/commitdiff
Apply suggestions from code review
authorMichael Vogel <icarus@dabo.de>
Sat, 16 Mar 2024 08:19:57 +0000 (09:19 +0100)
committerGitHub <noreply@github.com>
Sat, 16 Mar 2024 08:19:57 +0000 (09:19 +0100)
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/Contact.php

index 4bc00b850b743a74dbd5c7c57a8a55bc7ca9226f..d8b7f4d03897e007489022ce4bf7c9f61abdb851 100644 (file)
@@ -2826,10 +2826,10 @@ class Contact
                ) {
                        if (GServer::reachable($contact)) {
                                self::updateContact($id, $uid, $uriid, $contact['url'], ['failed' => false, 'local-data' => $has_local_data, 'last-update' => $updated, 'next-update' => $success_next_update, 'success_update' => $updated, 'unsearchable' => true]);
-                               Logger::info('Not updating relais', ['id' => $id, 'url' => $contact['url']]);
+                               Logger::info('Not updating relay', ['id' => $id, 'url' => $contact['url']]);
                                return true;
                        }
-                       Logger::info('Relais server is not reachable', ['id' => $id, 'url' => $contact['url']]);
+                       Logger::info('Relay server is not reachable', ['id' => $id, 'url' => $contact['url']]);
                        self::updateContact($id, $uid, $uriid, $contact['url'], ['failed' => true, 'local-data' => $has_local_data, 'last-update' => $updated, 'next-update' => $failed_next_update, 'failure_update' => $updated, 'unsearchable' => true]);
                        return false;
                }