aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-03 15:58:54 -0700
committerredmatrix <mike@macgirvin.com>2016-10-03 16:01:43 -0700
commite93fdefd72fee99b486a0653f36526d591cde2bb (patch)
tree49375c96aece2d0290974de583975a9fbd6d09c3
parent1af56b102583ca9bd3373878aad64c5a5f7e2a65 (diff)
downloadvolse-hubzilla-e93fdefd72fee99b486a0653f36526d591cde2bb.tar.gz
volse-hubzilla-e93fdefd72fee99b486a0653f36526d591cde2bb.tar.bz2
volse-hubzilla-e93fdefd72fee99b486a0653f36526d591cde2bb.zip
return the email_sent status
-rw-r--r--Zotlabs/Lib/Enotify.php4
1 files changed, 2 insertions, 2 deletions
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');