From c646c4785f41fa5208b99beb6487ed3b8f3d42a8 Mon Sep 17 00:00:00 2001 From: Matthew Exon Date: Sun, 7 May 2023 13:37:00 +0200 Subject: [PATCH] log uid but ignore results --- mailstream/mailstream.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mailstream/mailstream.php b/mailstream/mailstream.php index f53d4fe9..5ece12a1 100644 --- a/mailstream/mailstream.php +++ b/mailstream/mailstream.php @@ -143,10 +143,11 @@ function mailstream_send_hook(array $data) function mailstream_post_hook(array &$item) { mailstream_check_version(); + Logger::debug('@@@ mailstream_post_hook', ['item-uid' => $item['uid']]); if (!DI::pConfig()->get($item['uid'], 'mailstream', 'enabled')) { - Logger::debug('mailstream: not enabled.', ['item' => $item['id'], ' uid ' => $item['uid']]); - return; + Logger::debug('mailstream: not enabled for item ' . $item['id'] . ' uid ' . $item['uid']); + // return; } if (!$item['uid']) { Logger::debug('mailstream: no uid for item ' . $item['id']);