Maybe add a get_user_bulk() option to work similar to get_user() for places where we want lots of users at once
Bug #1962793 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
New
|
Wishlist
|
Unassigned |
Bug Description
When we are returning a list of results, say a report with lots of users, when we call get_user() on each person it does a number of db calls to fetch associated activity and account information for that user and most of that info is not needed for the report.
What we should do is either have a get_user(
To post a comment you must log in.