mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-24 19:08:53 +00:00
Compare commits
2 commits
9c49a2b86b
...
b8c49f9711
Author | SHA1 | Date | |
---|---|---|---|
|
b8c49f9711 | ||
|
2f43c1facd |
1 changed files with 1 additions and 12 deletions
|
@ -135,17 +135,6 @@ class language_file_helper
|
|||
*/
|
||||
private static function sort_by_local_name(mixed $a, mixed $b): int
|
||||
{
|
||||
if ($a['local_name'] > $b['local_name'])
|
||||
{
|
||||
return 1;
|
||||
}
|
||||
else if ($a['local_name'] < $b['local_name'])
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
else
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
return $a['local_name'] <=> $b['local_name'];
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue