MDL-73914 course: move both options to more menu

This commit moves the 'Download course content' and 'Unenrol me from course'
options to more menu.
This commit is contained in:
Simey Lameze 2022-03-21 13:46:42 +08:00
parent b74b47065a
commit 37bf03b2f4
2 changed files with 2 additions and 2 deletions

View file

@ -4743,7 +4743,7 @@ class settings_navigation extends navigation_node {
$coursenode->add($linkattr->displaystring, $actionlink, self::TYPE_SETTING, null, 'download',
new pix_icon('t/download', ''));
$coursenode->get('download')->set_force_into_more_menu();
$coursenode->get('download')->set_force_into_more_menu(true);
}
// Return we are done