aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-01 19:49:06 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-01 19:49:06 -0700
commitebe374d572174e33dc3c4ea1e747efa88957f3be (patch)
tree073906cf8db5e5cc60b16e79b5deb657860e5bb3
parentdd45e7b4eb67bb65d2d90634c4e03d70a4605e30 (diff)
downloadvolse-hubzilla-ebe374d572174e33dc3c4ea1e747efa88957f3be.tar.gz
volse-hubzilla-ebe374d572174e33dc3c4ea1e747efa88957f3be.tar.bz2
volse-hubzilla-ebe374d572174e33dc3c4ea1e747efa88957f3be.zip
notification changes to support testdrive
-rw-r--r--include/account.php2
-rw-r--r--include/enotify.php4
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);