-
Improvement
-
Resolution: Fixed
-
Minor
-
2.0.2, Future Dev
-
MOODLE_20_STABLE
Sam H. said:
"I would think that implementing some sort of cache for both checking a role exists and fetching the enrolment instance would save up to (n*2)-1 queries (n being the number of users being enrolled). My reasoning behind that is simply that I would guess if a person was going to enrol multiple users by webservice it would be likely that there would be great repartition of both course and role."
- has been marked as being related by
-
MDL-26250 Create a web service function that enrols users to a certain course
- Closed