MDL-9726 - fixed phpdoc comment from MartinD's commit

This commit is contained in:
poltawski
2007-05-07 08:34:08 +00:00
parent f151b07393
commit c3d1fbe943
+2 -2
View File
@@ -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);
}
}
?>
?>