MDL-14679 deprecated conversion

This commit is contained in:
skodak 2008-05-25 11:19:06 +00:00
parent 79eaec48cd
commit 31372ef93f

View File

@ -242,6 +242,20 @@ function get_course_users($courseid, $sort='ul.timeaccess DESC', $exceptions='',
}
/**
* Returns a list of all site users
* Obsolete, just calls get_course_users(SITEID)
*
* @uses SITEID
* @deprecated Use {@link get_course_users()} instead.
* @param string $fields A comma separated list of fields to be returned from the chosen table.
* @return object|false {@link $USER} records or false if error.
*/
function get_site_users($sort='u.lastaccess DESC', $fields='*', $exceptions='') {
return get_course_users(SITEID, $sort, $exceptions, $fields);
}
########### FROM weblib.php ##########################################################################