MDL-38979 bootstrap: add note about duplicated logic
authorDan Poltawski <dan@moodle.com>
Wed, 8 May 2013 12:32:48 +0000 (13:32 +0100)
committerDan Poltawski <dan@moodle.com>
Wed, 8 May 2013 12:32:48 +0000 (13:32 +0100)
theme/bootstrapbase/renderers/core.php

index af32ae1..504c7d0 100644 (file)
@@ -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