[AMOS commit] MDL-73233 admin: Add enabledashboard setting Committed into Git: 2022-02-25 15:14 UTC

[AMOS commit] MDL-73233 admin: Add enabledashboard setting Committed into Git: 2022-02-25 15:14 UTC

by AMOS bot -
Number of replies: 0
Author: Sara Arjona
MDL-73233 admin: Add enabledashboard setting
The $CFG->enabledashboard setting has been added to Appearance >
Navigation, to let admins disable the "Dashboard" option from the
primary navigation.

This commit also changes the behaviour of get_home_page(), to take
into account this setting and adds a new method, get_default_home_page(),
to return the expected default home page (that wil be used when current
default page is not defined or valid).


http://git.moodle.org/gw?p=moodle.git;a=commit;h=5349861e693fefcb5f5bcf4fc2c6ff270f32586b
http://github.com/moodle/moodle/commit/5349861e693fefcb5f5bcf4fc2c6ff270f32586b

+ 4.0 en [enabledashboard,core_admin]
+ 4.0 en [enabledashboard_help,core_admin]