mirror of
https://github.com/moodle/moodle.git
synced 2025-02-21 09:52:54 +01:00
Fixes the site home secondary nav, so that nodes added by plugins implementing the PLUGIN_extend_navigation_frontpage callback can be displayed for users who don't have the 'course:update' capability. This change comprises: - Removed course:update capability checks from site home (index.php) and from the secondary nav view. This isn't needed since the nav is capability aware. - Fixed the initialisation of the secondary nav for the frontpage course, removing erroneous duplicate 'home' nodes. The nav is now only shown if there are nodes to display.