Skip to content

Commit 82f724d

Browse files
committed
Remove call of setting "user_name_sort_by" not used anymore #2469
1 parent e3dbc3f commit 82f724d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

main/inc/lib/internationalization.lib.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1003,11 +1003,6 @@ function api_is_western_name_order($format = null, $language = null)
10031003
*/
10041004
function api_sort_by_first_name($language = null)
10051005
{
1006-
$userNameSortBy = api_get_setting('user_name_sort_by');
1007-
if (!empty($userNameSortBy) && in_array($userNameSortBy, ['firstname', 'lastname'])) {
1008-
return $userNameSortBy == 'firstname' ? true : false;
1009-
}
1010-
10111006
static $sort_by_first_name = [];
10121007

10131008
if (empty($language)) {

0 commit comments

Comments
 (0)