mirror of
https://github.com/friendica/friendica
synced 2025-04-22 07:50:11 +00:00
Some more removed notices
This commit is contained in:
parent
6b14a2623a
commit
170dd2a705
7 changed files with 43 additions and 39 deletions
|
@ -659,7 +659,7 @@ class User
|
|||
* @param string $password
|
||||
* @return NULL|boolean from notification() and email() inherited
|
||||
*/
|
||||
public static function sendRegisterOpenEmail($email, $sitename, $siteurl, $username, $password)
|
||||
public static function sendRegisterOpenEmail($email, $sitename, $siteurl, $username, $password, $user)
|
||||
{
|
||||
$preamble = deindent(L10n::t('
|
||||
Dear %1$s,
|
||||
|
@ -697,6 +697,8 @@ class User
|
|||
$body = sprintf($body, $email, $sitename, $siteurl, $username, $password);
|
||||
|
||||
return notification([
|
||||
'uid' => $user['uid'],
|
||||
'language' => $user['language'],
|
||||
'type' => SYSTEM_EMAIL,
|
||||
'to_email' => $email,
|
||||
'subject'=> L10n::t('Registration details for %s', $sitename),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue