From 1311fe1e76d764b656caebc58d19cc2cb7ae75ff Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Tue, 9 Jul 2024 20:14:59 +0100 Subject: [PATCH] Revert "log uid but ignore results" This reverts commit 0f5ba218f69f9b7bb32dc061108370d5bf95c366. --- mailstream/mailstream.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index 218289c3e..60be0b62b 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -133,8 +133,8 @@ function mailstream_post_hook(array &$item) return; } if (!DI::pConfig()->get($item['uid'], 'mailstream', 'enabled')) { - Logger::debug('mailstream: not enabled for item ' . $item['id'] . ' uid ' . $item['uid']); - // return; + Logger::debug('mailstream: not enabled.', ['item' => $item['id'], ' uid ' => $item['uid']]); + return; } if (!$item['contact-id']) { Logger::debug('no contact-id', ['item' => $item['id']]);