|
|
|
@ -705,7 +705,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription |
|
|
|
* |
|
|
|
* This default may well be good enough for personal use, and calendars |
|
|
|
* that aren't very large. But if you anticipate high usage, big calendars |
|
|
|
* or high loads, you are strongly adviced to optimize certain paths. |
|
|
|
* or high loads, you are strongly advised to optimize certain paths. |
|
|
|
* |
|
|
|
* The best way to do so is override this method and to optimize |
|
|
|
* specifically for 'common filters'. |
|
|
|
@ -1299,7 +1299,7 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription |
|
|
|
} |
|
|
|
if ($componentType === 'VEVENT' && $component->DTSTART) { |
|
|
|
$firstOccurence = $component->DTSTART->getDateTime()->getTimeStamp(); |
|
|
|
// Finding the last occurence is a bit harder
|
|
|
|
// Finding the last occurrence is a bit harder
|
|
|
|
if (!isset($component->RRULE)) { |
|
|
|
if (isset($component->DTEND)) { |
|
|
|
$lastOccurence = $component->DTEND->getDateTime()->getTimeStamp(); |
|
|
|
|