From e93fdefd72fee99b486a0653f36526d591cde2bb Mon Sep 17 00:00:00 2001 From: redmatrix Date: Mon, 3 Oct 2016 15:58:54 -0700 Subject: return the email_sent status --- Zotlabs/Lib/Enotify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs/Lib') diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index d6fe73717..efb1c4307 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -633,8 +633,8 @@ class Enotify { call_hooks('email_send', $params); if($params['sent']) { - logger("notification: enotify::send returns " . $params['result'], LOGGER_DEBUG); - return; + logger("notification: enotify::send (addon) returns " . $params['result'], LOGGER_DEBUG); + return $params['result']; } $fromName = email_header_encode(html_entity_decode($params['fromName'],ENT_QUOTES,'UTF-8'),'UTF-8'); -- cgit v1.2.3