Removed notices, will it ever end?

This commit is contained in:
Michael
2018-08-17 03:19:42 +00:00
parent 3488b937ea
commit 0342f9e084
6 changed files with 21 additions and 4 deletions

View File

@@ -364,6 +364,11 @@ class Contact extends BaseObject
*/
public static function markForArchival(array $contact)
{
if (!isset($contact['url'])) {
logger('Empty contact. ' . System::callstack(10), LOGGER_DEBUG);
}
// Contact already archived or "self" contact? => nothing to do
if ($contact['archive'] || $contact['self']) {
return;