mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-02-05 03:00:52 -06:00
cleanup: language model
This commit is contained in:
@@ -211,9 +211,7 @@ class Language
|
||||
$long = 'en-GB';
|
||||
|
||||
// Get languages from config
|
||||
$languages = \config('language.all');
|
||||
|
||||
foreach ($languages as $language) {
|
||||
foreach (\config('language.all') as $language) {
|
||||
if ($language['short'] != $short) {
|
||||
continue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user