Skip to content
Snippets Groups Projects
Commit b9daf39d authored by Alexander Bias's avatar Alexander Bias
Browse files

Change core_renderer.php after MDL-58174 is integrated

parent d87860cd
No related branches found
No related tags found
No related merge requests found
...@@ -354,7 +354,8 @@ class core_renderer extends \theme_boost\output\core_renderer { ...@@ -354,7 +354,8 @@ class core_renderer extends \theme_boost\output\core_renderer {
} }
// TODO Delete function build_action_menu_from_navigation when MDL-58174 is solved. // TODO Remove the copied function build_action_menu_from_navigation in version 3.4 of the theme.
// This will be the first Moodle major version having MDL-58174 integrated from version x.0 on.
/** /**
* Take a node in the nav tree and make an action menu out of it. * Take a node in the nav tree and make an action menu out of it.
...@@ -366,7 +367,7 @@ class core_renderer extends \theme_boost\output\core_renderer { ...@@ -366,7 +367,7 @@ class core_renderer extends \theme_boost\output\core_renderer {
* @param boolean $onlytopleafnodes * @param boolean $onlytopleafnodes
* @return boolean nodesskipped - True if nodes were skipped in building the menu * @return boolean nodesskipped - True if nodes were skipped in building the menu
*/ */
private function build_action_menu_from_navigation(action_menu $menu, protected function build_action_menu_from_navigation(action_menu $menu,
navigation_node $node, navigation_node $node,
$indent = false, $indent = false,
$onlytopleafnodes = false) { $onlytopleafnodes = false) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment