mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-06 18:21:39 +09:00
Remove remaining references to getDBInfo()
This commit is contained in:
parent
9895699591
commit
f7aad28d2c
12 changed files with 25 additions and 53 deletions
|
|
@ -868,9 +868,8 @@ class moduleAdminController extends module
|
|||
$langMap[$val->lang_code][$val->name] = $val->value;
|
||||
}
|
||||
|
||||
$lang_supported = Context::get('lang_supported');
|
||||
$dbInfo = Context::getDBInfo();
|
||||
$defaultLang = $dbInfo->lang_type;
|
||||
$lang_supported = Context::loadLangSelected();
|
||||
$defaultLang = config('locale.default_lang');
|
||||
|
||||
if(!is_array($langMap[$defaultLang]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue