mirror of
https://github.com/friendica/friendica
synced 2025-04-24 23:10:11 +00:00
Move L10n::withLang() calls to DI::l10n()->withLang() calls
This commit is contained in:
parent
a9a36fb302
commit
d3255afa66
4 changed files with 5 additions and 5 deletions
|
@ -297,7 +297,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']),
|
||||
DI::l10n()->withLang($arr['language']),
|
||||
$user,
|
||||
Config::get('config', 'sitename'),
|
||||
$base_url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue