]> git.mjollnir.org Git - moodle.git/commit
New convinience function in accesslib: get_parent_contextid. Also, the start of some...
authortjhunt <tjhunt>
Mon, 12 May 2008 15:28:34 +0000 (15:28 +0000)
committertjhunt <tjhunt>
Mon, 12 May 2008 15:28:34 +0000 (15:28 +0000)
commitd33725bd2d7eff5d301d3e4a6a6a9adc8eb2e385
tree7f350c7f8e305208a48e30699f27af5f53807662
parent8b9cfac4ab423e558e8dde775fb2503d63507f22
New convinience function in accesslib: get_parent_contextid. Also, the start of some unit tests for accesslib, but only this trivial funciton, and the get_parent_contexts function it is based on. Still, it is a start.
lib/accesslib.php
lib/simpletest/testaccesslib.php [new file with mode: 0644]