Merge pull request #8026 from nupplaphil/task/l10n_immutable

Make L10n immutable
This commit is contained in:
Hypolite Petovan 2019-12-29 13:54:32 -05:00 committed by GitHub
commit a9220aa83b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 114 additions and 171 deletions

View file

@ -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,