notification changes to support testdrive
This commit is contained in:
		| @@ -217,6 +217,8 @@ function create_account($arr) { | ||||
| 	$result['email']    = $email; | ||||
| 	$result['password'] = $password; | ||||
|  | ||||
| 	call_hooks('register_account',$result); | ||||
|  | ||||
| 	return $result; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user