MDL-58762 core: Get full course objects on navigation
authorJuan Leyva <juanleyvadelgado@gmail.com>
Wed, 5 Jul 2017 12:18:08 +0000 (13:18 +0100)
committerDavid Monllao <davidm@moodle.com>
Thu, 7 Sep 2017 08:53:33 +0000 (10:53 +0200)
commit35b9bca0ca4ac8ec4fb6a590052112bd9f75ef33
tree25c9caf7affc53baea040c89cfc5aa8c40522ddd
parent85b531e8beae3497ec2075e07e59c581fccb317c
MDL-58762 core: Get full course objects on navigation

The course object passed as parameter to extend_navigation_user
callback contained only a few parameters, some parameters like
showgrades or showreports were missing.
The callback should receive a full course object.
lib/navigationlib.php