mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-07 22:58:07 +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
|
@ -300,7 +300,7 @@ function update_1298()
|
|||
$keys = ['gender', 'marital', 'sexual'];
|
||||
foreach ($keys as $translateKey) {
|
||||
$allData = DBA::select('profile', ['id', $translateKey]);
|
||||
$allLangs = L10n::getAvailableLanguages();
|
||||
$allLangs = DI::l10n()->getAvailableLanguages();
|
||||
$success = 0;
|
||||
$fail = 0;
|
||||
foreach ($allData as $key => $data) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue