MDL-51576 navigation: stop course nav duplication
authorRyan Wyllie <ryan@moodle.com>
Tue, 13 Oct 2015 01:46:25 +0000 (01:46 +0000)
committerRyan Wyllie <ryan@moodle.com>
Tue, 13 Oct 2015 01:46:25 +0000 (01:46 +0000)
commit4b596728e7506bfe8f6a996c4364d766a2828e17
tree6c32e1d549dbde9a901a4646c5e3166f72294982
parent74fad2ce3de05ce158bf6588c20bb277154d8d9d
MDL-51576 navigation: stop course nav duplication

The course navigation was getting duplicate nodes because
it was loading the nav tree plugin functions twice. Once
specifically for the reports and then a second time more generally.

The code will now explicitly skip loading the report plugin
functions on the second load.
lib/navigationlib.php