diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-13 16:47:45 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-13 16:47:45 -0700 |
commit | daaefed61bc6a38a102ce2c357278158535a2b27 (patch) | |
tree | b9ca8505dc567608e00015ad046bda244e499d73 /Zotlabs/Lib/Enotify.php | |
parent | 6532972e61a2aa5e8517ebcca3113adb3c8f336d (diff) | |
download | volse-hubzilla-daaefed61bc6a38a102ce2c357278158535a2b27.tar.gz volse-hubzilla-daaefed61bc6a38a102ce2c357278158535a2b27.tar.bz2 volse-hubzilla-daaefed61bc6a38a102ce2c357278158535a2b27.zip |
provide text log results of email success/failure rather than 1 and 0.
Diffstat (limited to 'Zotlabs/Lib/Enotify.php')
-rw-r--r-- | Zotlabs/Lib/Enotify.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Lib/Enotify.php b/Zotlabs/Lib/Enotify.php index ccb014255..9b4117b9c 100644 --- a/Zotlabs/Lib/Enotify.php +++ b/Zotlabs/Lib/Enotify.php @@ -633,7 +633,7 @@ class Enotify { call_hooks('email_send', $params); if($params['sent']) { - logger("notification: enotify::send (addon) returns " . $params['result'], LOGGER_DEBUG); + logger("notification: enotify::send (addon) returns " . (($params['result']) ? 'success' : 'failure'), LOGGER_DEBUG); return $params['result']; } @@ -676,7 +676,7 @@ class Enotify { $multipartMessageBody, // message body $messageHeader // message headers ); - logger("notification: enotify::send returns " . $res, LOGGER_DEBUG); + logger("notification: enotify::send returns " . (($res) ? 'success' : 'failure'), LOGGER_DEBUG); return $res; } |