Move L10n::withLang() calls to DI::l10n()->withLang() calls

This commit is contained in:
nupplaPhil
2020-01-18 20:54:15 +01:00
parent a9a36fb302
commit d3255afa66
4 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ function user_allow($hash)
Worker::add(PRIORITY_LOW, "Directory", $url);
}
$l10n = L10n::withLang($register['language']);
$l10n = DI::l10n()->withLang($register['language']);
$res = User::sendRegisterOpenEmail(
$l10n,