]> git.mjollnir.org Git - moodle.git/commit
accesslib: Introducing get_user_sitewide_access($userid)
authormartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:02:04 +0000 (07:02 +0000)
committermartinlanghoff <martinlanghoff>
Wed, 19 Sep 2007 07:02:04 +0000 (07:02 +0000)
commita9bee37ea15ff8a0b98fd3e9b56d7e1a71c21b56
treec190bdbe07d5c3a683234fb3916ef84c097eb34d
parent41883f79ca5ac0fed49b919b087d110642f5c13e
accesslib: Introducing get_user_sitewide_access($userid)

This function carefully fetches all the data needed to
handle site/category/course access for a given user
as cheaply as possible.

It currently takes 3 db queries.
lib/accesslib.php