mirror of
https://github.com/friendica/friendica
synced 2025-05-01 23:04:24 +02:00
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls
This commit is contained in:
parent
cb4ad529f4
commit
d83f6335eb
5 changed files with 5 additions and 5 deletions
|
@ -219,7 +219,7 @@ class Temporal
|
|||
// First day of the week (0 = Sunday)
|
||||
$firstDay = DI::pConfig()->get(local_user(), 'system', 'first_day_of_week', 0);
|
||||
|
||||
$lang = substr(L10n::getCurrentLang(), 0, 2);
|
||||
$lang = substr(DI::l10n()->getCurrentLang(), 0, 2);
|
||||
|
||||
// Check if the detected language is supported by the picker
|
||||
if (!in_array($lang,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue