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

This commit is contained in:
nupplaPhil 2020-01-18 20:55:41 +01:00
parent cb4ad529f4
commit d83f6335eb
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 5 additions and 5 deletions

View file

@ -255,7 +255,7 @@ class Install extends BaseModule
case self::SITE_SETTINGS:
/* Installed langs */
$lang_choices = L10n::getAvailableLanguages();
$lang_choices = DI::l10n()->getAvailableLanguages();
$tpl = Renderer::getMarkupTemplate('install_settings.tpl');
$output .= Renderer::replaceMacros($tpl, [