aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Zotlabs/Lib/Enotify.php4
-rw-r--r--include/network.php2
2 files changed, 3 insertions, 3 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;
}
diff --git a/include/network.php b/include/network.php
index 15157fdf0..7851f8976 100644
--- a/include/network.php
+++ b/include/network.php
@@ -2263,7 +2263,7 @@ function z_mail($params) {
$params['sent'] = false;
$params['result'] = false;
- call_hooks('enotify_send', $params);
+ call_hooks('email_send', $params);
if($params['sent']) {
logger('notification: z_mail returns ' . $params['result'], LOGGER_DEBUG);