|
@@ 88-90 (lines=3) @@
|
| 85 |
|
} |
| 86 |
|
|
| 87 |
|
// We're adding a notifications node, if it's supported by the backend. |
| 88 |
|
if ($this->caldavBackend instanceof NotificationSupport) { |
| 89 |
|
$objects[] = new \Sabre\CalDAV\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']); |
| 90 |
|
} |
| 91 |
|
|
| 92 |
|
// If the backend supports subscriptions, we'll add those as well, |
| 93 |
|
if ($this->caldavBackend instanceof SubscriptionSupport) { |
|
@@ 113-115 (lines=3) @@
|
| 110 |
|
if ($name === 'outbox' && $this->caldavBackend instanceof SchedulingSupport) { |
| 111 |
|
return new Outbox($this->principalInfo['uri']); |
| 112 |
|
} |
| 113 |
|
if ($name === 'notifications' && $this->caldavBackend instanceof NotificationSupport) { |
| 114 |
|
return new \Sabre\CalDAv\Notifications\Collection($this->caldavBackend, $this->principalInfo['uri']); |
| 115 |
|
} |
| 116 |
|
|
| 117 |
|
// Calendars |
| 118 |
|
foreach ($this->caldavBackend->getCalendarsForUser($this->principalInfo['uri']) as $calendar) { |