mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-14974 improved columns caching implementation
This commit is contained in:
parent
aa07a81368
commit
a7544e377a
11 changed files with 36 additions and 44 deletions
|
@ -480,6 +480,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);
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an array of user objects
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue