]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-9726 - fixed phpdoc comment from MartinD's commit
authorpoltawski <poltawski>
Mon, 7 May 2007 08:34:08 +0000 (08:34 +0000)
committerpoltawski <poltawski>
Mon, 7 May 2007 08:34:08 +0000 (08:34 +0000)
lib/accesslib.php

index 10020d1883c922806a98a09dd4c1bed6bd98b2f8..5651691919057836d60ff14f0c8d684ff7e6fffd 100755 (executable)
@@ -783,7 +783,7 @@ function roles_context_cmp($contexta, $contextb) {
  * @param $capability string - Only get a specific capability (string)
  * @param $context object - Only get capabilities for a specific context object
  * @param $userid integer - the id of the user whose capabilities we want to load
- * @param $checkenrolments boolean - the id of the user whose capabilities we want to load
+ * @param $checkenrolments boolean - Should we check enrolment plugins (potentially expensive)
  * @return array of permissions (or nothing if they get assigned to $USER)
  */
 function load_user_capability($capability='', $context=NULL, $userid=NULL, $checkenrolments=true) {
@@ -3929,4 +3929,4 @@ function role_get_name($role, $context) {
         return format_string($role->name);
     }
 }
-?>
\ No newline at end of file
+?>