mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-14679 deprecated conversion
This commit is contained in:
parent
79eaec48cd
commit
31372ef93f
@ -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 ##########################################################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user