mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 19:32:15 +09:00
Clean up ModuleController::replaceDefinedLangCode()
This commit is contained in:
parent
2e6e097272
commit
f8859769e8
15 changed files with 64 additions and 77 deletions
|
|
@ -222,10 +222,8 @@ class menuAdminModel extends menu
|
|||
}
|
||||
}
|
||||
$menuItem->groupList = $groupList;
|
||||
|
||||
$oModuleController = getController('module');
|
||||
$menuItem->name_key = $menuItem->name;
|
||||
$oModuleController->replaceDefinedLangCode($menuItem->name);
|
||||
$menuItem->name = Context::replaceUserLang($menuItem->name);
|
||||
|
||||
$this->add('menu_item', $menuItem);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue