sam marshall
107ab4b97b
MDL-65931 Web services: get_courses_by_field minor inefficiency
...
When called with a list of course IDs, this change makes it preload
the contexts and categories before further processing. This saves a
number of queries, depending on how many courses you call it for.
(Typically the function is called with a list of all your enrolled
courses.)
The change may also improve performance for other web services that
call the validate_courses function.
2019-07-10 18:27:42 +01:00
..
2018-08-28 11:36:23 +02:00
2019-04-08 14:33:36 +02:00
2019-06-06 19:05:48 +02:00
2019-06-27 23:32:35 +01:00
2019-05-06 12:46:43 +02:00
2019-05-22 19:29:39 +08:00
2019-06-21 08:54:37 +10:00
2017-07-26 11:11:09 +08:00
2017-04-19 08:56:11 +08:00
2018-09-04 22:44:45 +02:00
2019-04-10 12:35:29 +02:00
2019-01-24 08:36:08 +08:00
2017-04-19 08:54:35 +08:00
2019-01-18 14:28:18 +01:00
2017-04-19 08:56:11 +08:00
2019-04-09 00:15:42 +00:00
2018-12-19 08:36:45 +08:00
2018-12-19 08:36:45 +08:00
2019-01-18 14:28:18 +01:00
2018-09-25 14:31:50 -03:00
2017-04-19 08:54:35 +08:00
2018-08-28 11:36:23 +02:00
2017-04-21 16:22:50 +02:00
2017-05-11 18:48:08 +08:00
2019-07-10 18:27:42 +01:00
2019-04-10 12:35:28 +02:00
2019-04-10 12:35:28 +02:00
2019-06-12 09:54:30 +01:00
2019-03-05 04:24:53 +01:00
2019-04-10 12:35:28 +02:00
2017-07-31 12:03:28 +08:00
2019-02-07 10:52:34 +08:00
2019-02-12 10:18:04 +00:00
2018-09-10 11:22:50 +02:00
2017-09-11 12:44:27 +08:00
2019-04-19 11:40:00 +02:00
2018-08-28 11:36:23 +02:00
2019-04-03 02:42:45 +02:00
2018-06-28 23:06:45 +02:00
2019-04-10 12:35:28 +02:00
2019-04-03 19:47:11 +08:00
2019-01-12 07:37:21 -08:00
2019-06-14 17:41:18 +02:00
2019-04-13 23:43:01 +10:00