aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Lib/Enotify.php
diff options
context:
space:
mode:
authorredmatrix <mike@macgirvin.com>2016-10-01 15:15:14 -0700
committerredmatrix <mike@macgirvin.com>2016-10-01 15:15:14 -0700
commit883828c6cc42df5f835575725c8bfffcc0440c77 (patch)
treef599cd84740a73b40d81515d41ded461a86a11de /Zotlabs/Lib/Enotify.php
parentfa94644bcfd5bb3ef9c4149d6503846a09975297 (diff)
downloadvolse-hubzilla-883828c6cc42df5f835575725c8bfffcc0440c77.tar.gz
volse-hubzilla-883828c6cc42df5f835575725c8bfffcc0440c77.tar.bz2
volse-hubzilla-883828c6cc42df5f835575725c8bfffcc0440c77.zip
change hook name and return results
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 c25834a1f..d6fe73717 100644
--- a/Zotlabs/Lib/Enotify.php
+++ b/Zotlabs/Lib/Enotify.php
@@ -630,10 +630,10 @@ class Enotify {
$params['sent'] = false;
$params['result'] = false;
- call_hooks('enotify_send', $params);
+ call_hooks('email_send', $params);
if($params['sent']) {
- logger("notification: enotify::send returns " . $params['sent'], LOGGER_DEBUG);
+ logger("notification: enotify::send returns " . $params['result'], LOGGER_DEBUG);
return;
}