Jamie McClymont c4321dac9f Fix excessive SQL queries in calendar-sync REPORT
The calendar-sync REPORT fetches the collection as a DAVResource, then
instantiates a DAVResource for each event in the collection.

Unfortunately, ByRow in DAVResource fetches the resource's collection from the
database!

This commit populates each DAVResource's collection field with the
already-fetched collection when performing calendar-sync queries.
2019-01-04 14:13:41 +13:00
..
2016-12-30 08:54:14 +01:00
2017-01-08 15:48:52 +01:00
2018-01-08 22:43:27 +01:00
2010-03-17 21:54:24 +13:00
2018-10-02 19:53:44 +13:00