mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Make L10n immutable
- Remove Push/Pop - Add "withLang($lang)" method
This commit is contained in:
parent
ae0421f321
commit
7a2f4dc54e
7 changed files with 109 additions and 171 deletions
|
@ -228,6 +228,7 @@ class Register extends BaseModule
|
|||
// Only send a password mail when the password wasn't manually provided
|
||||
if (empty($_POST['password1']) || empty($_POST['confirm'])) {
|
||||
$res = Model\User::sendRegisterOpenEmail(
|
||||
L10n::withLang($arr['language']),
|
||||
$user,
|
||||
Config::get('config', 'sitename'),
|
||||
$base_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue