aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-03 15:58:54 -0700
committerredmatrix <mike@macgirvin.com>2016-10-03 15:58:54 -0700
commit5b10db6f91f4bb876bbadbc9602c68762a3c9b71 (patch)
treec4b3d5fbb5be2b450c5d9bb476abc28571008911 /Zotlabs/Lib/Enotify.php
parent76c2de38ff532e68149fafd2e87b22cce151c278 (diff)
downloadvolse-hubzilla-5b10db6f91f4bb876bbadbc9602c68762a3c9b71.tar.gz
volse-hubzilla-5b10db6f91f4bb876bbadbc9602c68762a3c9b71.tar.bz2
volse-hubzilla-5b10db6f91f4bb876bbadbc9602c68762a3c9b71.zip
return the email_sent status
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-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 a6527ae71..9a8628968 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');