Merge pull request #5626 from annando/notices-oh-yeah

Removed notices, will it ever end?
This commit is contained in:
Tobias Diekershoff 2018-08-17 09:33:02 +02:00 committed by GitHub
commit d5c2c41b02
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;