From: Michael Vogel Date: Sat, 16 Mar 2024 08:19:57 +0000 (+0100) Subject: Apply suggestions from code review X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e6c23e69ccde413659c95e106f3516f4b52f8c7a;p=friendica.git Apply suggestions from code review Co-authored-by: Hypolite Petovan --- diff --git a/src/Model/Contact.php b/src/Model/Contact.php index 4bc00b850b..d8b7f4d038 100644 --- a/src/Model/Contact.php +++ b/src/Model/Contact.php @@ -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; }