From 883828c6cc42df5f835575725c8bfffcc0440c77 Mon Sep 17 00:00:00 2001 From: redmatrix Date: Sat, 1 Oct 2016 15:15:14 -0700 Subject: change hook name and return results --- Zotlabs/Lib/Enotify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Zotlabs') 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; } -- cgit v1.2.3