DI::baseUrl()->redirect('contact/' . $result['cid']);
}
- info(DI::l10n()->t('The contact could not be added.'));
+ notice(DI::l10n()->t('The contact could not be added.'));
DI::baseUrl()->redirect($return_path);
// NOTREACHED
}
}
- $contact = Contact::getByURL($url, 0, [], true);
+ $contact = Contact::getByURL($url, true);
if (empty($contact)) {
// Possibly it is a remote item and not an account
follow_remote_item($url);