Get rid of yaml_parse_file in __global__::getLanguages

This commit is contained in:
Celestora 2021-09-20 20:24:10 +03:00
parent fcdc61fe9a
commit 05c208c3c5

View file

@ -103,7 +103,7 @@ function setLanguage($lg): void
function getLanguages(): array
{
return yaml_parse_file(OPENVK_ROOT . "/locales/list.yml")['list'];
return chandler_parse_yaml(OPENVK_ROOT . "/locales/list.yml")['list'];
}
function isLanguageAvailable($lg): bool