mirror of
https://github.com/friendica/friendica
synced 2025-04-24 11:10:18 +00:00
Avoid notices
This commit is contained in:
parent
4f7142198e
commit
2bae4dde1f
2 changed files with 4 additions and 1 deletions
|
@ -2102,7 +2102,7 @@ class Contact
|
|||
$updated = DateTimeFormat::utcNow();
|
||||
|
||||
if (Strings::normaliseLink($contact['url']) != Strings::normaliseLink($ret['url'])) {
|
||||
Logger::notice('New URL differs from old URL', ['id' => $id, 'uid' => $contact['uid'], 'old' => $contact['url'], 'new' => $ret['url']]);
|
||||
Logger::notice('New URL differs from old URL', ['id' => $id, 'uid' => $uid, 'old' => $contact['url'], 'new' => $ret['url']]);
|
||||
self::updateContact($id, $uid, $contact['url'], $ret['url'], ['failed' => true, 'last-update' => $updated, 'failure_update' => $updated]);
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue