From ebe374d572174e33dc3c4ea1e747efa88957f3be Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 1 Oct 2015 19:49:06 -0700 Subject: notification changes to support testdrive --- include/account.php | 2 ++ include/enotify.php | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/include/account.php b/include/account.php index 5926e05c1..b3a520fd4 100644 --- a/include/account.php +++ b/include/account.php @@ -217,6 +217,8 @@ function create_account($arr) { $result['email'] = $email; $result['password'] = $password; + call_hooks('register_account',$result); + return $result; } diff --git a/include/enotify.php b/include/enotify.php index d0228bf50..6f4083155 100644 --- a/include/enotify.php +++ b/include/enotify.php @@ -317,7 +317,9 @@ function notification($params) { 'sitelink' => $sitelink, 'tsitelink' => $tsitelink, 'hsitelink' => $hsitelink, - 'itemlink' => $itemlink + 'itemlink' => $itemlink, + 'sender' => $sender, + 'recipient' => $recip ); call_hooks('enotify', $h); -- cgit v1.2.3