MDL-73233 navigation: Breadcrumbs removed from user preferences
commit30b75b7190e533a4540b7b3e8cc75945d744fc51
authorSara Arjona <sara@moodle.com>
Fri, 18 Mar 2022 06:44:41 +0000 (18 07:44 +0100)
committerSara Arjona <sara@moodle.com>
Fri, 18 Mar 2022 06:44:55 +0000 (18 07:44 +0100)
tree26feedbdd2e50f8704d7782c783f1c5e777a4f73
parentcd2225a71bcbe818ff54bb4cc2c1a083e5c08e17
MDL-73233 navigation: Breadcrumbs removed from user preferences

In MDL-74087 breadcrumbs were removed from the User preferences page.
This patch re-introduces a piece of code that was removed originally
in MDL-73233 while reviewing all the places where the Dashboard was
displayed by default (to avoid inconsistencies). New item in primary
navigation has been changed to "Home" but we still need the code
re-added to hide breadcrumbs when its content matches the primary
navigation.
lib/navigationlib.php
user/tests/behat/set_default_homepage.feature