]> git.mjollnir.org Git - moodle.git/commit
accesslib: build_context_path() now sets path/depth for other blocks
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:56:14 +0000 (07:56 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:56:14 +0000 (07:56 +0000)
commit99be2a7fad15ac09b095a3773ce8e0297f689a5c
tree8b126ecce52365313f0510163c026d378cefc780
parent348648a2a597d9383bfa989e1b8dc16bd830f34c
accesslib: build_context_path() now sets path/depth for other blocks

Blocks not on the coursepage should have their context "hanging" from the
site context. get_context_instance() was doing this correctly, but not
build_context_path().
lib/accesslib.php