MDL-51500 navigation: Compute links with destination context
authorEric Merrill <merrill@oakland.edu>
Wed, 7 Oct 2015 14:00:00 +0000 (10:00 -0400)
committerEric Merrill <merrill@oakland.edu>
Wed, 7 Oct 2015 14:00:59 +0000 (10:00 -0400)
commitea9431eb7b8d0fd856524a5b2f74cec52c6fcaf6
tree8da8638f6e20b6d86b0715a5c7904b7b61ed79c6
parentd230899db89b3c1539bdd1be3f3f776cfe3a85f4
MDL-51500 navigation: Compute links with destination context

We should calculate the links based on the destination context,
not the current course. Could show links that are not accessible.
lib/navigationlib.php