]> git.mjollnir.org Git - moodle.git/commit
accesslib: get_parent_contexts() reworked to use context.path
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:23:30 +0000 (07:23 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:23:30 +0000 (07:23 +0000)
commit564870b7b84b7e08511573a7d5c74b572860d11e
tree42fb00a1d8da49d1697df045455208fc13fd0822
parent5f3822240571c453c02376bf0aa1f1618afa43d1
accesslib: get_parent_contexts() reworked to use context.path

Now that we can use $context->path trivially, and avoid touching the db
for data we already have... Just Do It!
lib/accesslib.php