change hook name and return results

This commit is contained in:
redmatrix
2016-10-01 15:15:14 -07:00
parent fa94644bcf
commit 883828c6cc
2 changed files with 3 additions and 3 deletions

View File

@@ -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);