mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-38979 bootstrap: add note about duplicated logic
This commit is contained in:
parent
0249631131
commit
69b9a894a1
@ -86,6 +86,8 @@ class theme_bootstrapbase_core_renderer extends core_renderer {
|
||||
protected function render_custom_menu(custom_menu $menu) {
|
||||
global $CFG;
|
||||
|
||||
// TODO: eliminate this duplicated logic, it belongs in core, not
|
||||
// here. See MDL-38979.
|
||||
$addlangmenu = true;
|
||||
$langs = get_string_manager()->get_list_of_translations();
|
||||
if (count($langs) < 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user