Permalink
Browse files

MDL-38979 bootstrap: add note about duplicated logic

  • Loading branch information...
danpoltawski committed May 8, 2013
1 parent 0249631 commit 69b9a894a1a89e353f0ac3c8cf326f761d4d2786
Showing with 2 additions and 0 deletions.
  1. +2 −0 theme/bootstrapbase/renderers/core.php
@@ -86,6 +86,8 @@ public function custom_menu($custommenuitems = '') {
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

0 comments on commit 69b9a89

Please sign in to comment.