From: martinlanghoff Date: Wed, 19 Sep 2007 07:25:25 +0000 (+0000) Subject: accesslib: phpdoc update get_child_contexts() X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=41017705c3979d54d60335cb092a7485374e6591;p=moodle.git accesslib: phpdoc update get_child_contexts() --- diff --git a/lib/accesslib.php b/lib/accesslib.php index 366f2b959e..d21f70f756 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -3382,8 +3382,8 @@ function get_parent_contexts($context) { * NOT recurse into courses - if you want to do that, call it on the returned * courses. * - * Note: if a "deep" recurse is needed, it can be done very cheaply on the SQL - * side. Ask MartinL how ;-) + * If called on a course context it _will_ populate the cache with the appropriate + * contexts ;-) * * @param object $context. * @return array of child records