diff options
-rw-r--r-- | include/account.php | 2 | ||||
-rw-r--r-- | include/enotify.php | 4 |
2 files changed, 5 insertions, 1 deletions
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); |