From 702e2eb195e0b8d38cd197e17afb7330755172ae Mon Sep 17 00:00:00 2001 From: Mark Nelson Date: Mon, 20 Oct 2014 19:43:47 -0700 Subject: [PATCH] MDL-47780 core: corrected docs for get_user_capability_course() --- lib/accesslib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/accesslib.php b/lib/accesslib.php index 5671e8a6b15..638afc6bdf2 100644 --- a/lib/accesslib.php +++ b/lib/accesslib.php @@ -4201,7 +4201,7 @@ function count_role_users($roleid, context $context, $parent = false) { * otherwise use a comma-separated list of the fields you require, not including id * @param string $orderby If set, use a comma-separated list of fields from course * table with sql modifiers (DESC) if needed - * @return array Array of courses, may have zero entries. Or false if query failed. + * @return array|bool Array of courses, if none found false is returned. */ function get_user_capability_course($capability, $userid = null, $doanything = true, $fieldsexceptid = '', $orderby = '') { global $DB;