MDL-9726 - fixed phpdoc comment from MartinD's commit
This commit is contained in:
+2
-2
@@ -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);
|
||||
}
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user