From c3d1fbe9436d51121ba4edac910b882328d74f4e Mon Sep 17 00:00:00 2001 From: poltawski Date: Mon, 7 May 2007 08:34:08 +0000 Subject: [PATCH] MDL-9726 - fixed phpdoc comment from MartinD's commit --- lib/accesslib.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 10020d1883..5651691919 100755 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -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 +?> -- 2.39.5