Replaced debug log

This commit is contained in:
Michael 2020-11-04 13:05:07 +00:00
parent e5704eb05a
commit 29ec0bb98d

View file

@ -1513,10 +1513,7 @@ class DFRN
$author["contact-id"] = $contact_old["id"]; $author["contact-id"] = $contact_old["id"];
$author["network"] = $contact_old["network"]; $author["network"] = $contact_old["network"];
} else { } else {
Logger::info('Blubb', ['condition' => $condition]); Logger::info('Contact not found', ['condition' => $condition]);
if (!$onlyfetch) {
Logger::debug("Contact ".$author["link"]." wasn't found for user ".$importer["importer_uid"]." XML: ".$xml);
}
$author["contact-unknown"] = true; $author["contact-unknown"] = true;
$contact = Contact::getByURL($author["link"], null, ["id", "network"]); $contact = Contact::getByURL($author["link"], null, ["id", "network"]);