diff options
Diffstat (limited to 'apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php index 2d79db03bce..6b084d7c857 100644 --- a/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php +++ b/apps/dav/lib/CalDAV/Trashbin/DeletedCalendarObjectsCollection.php @@ -78,6 +78,7 @@ class DeletedCalendarObjectsCollection implements ICalendarObjectContainer { return new DeletedCalendarObject( $this->getRelativeObjectPath($data), $data, + $this->principalInfo['uri'], $this->caldavBackend ); } @@ -117,8 +118,8 @@ class DeletedCalendarObjectsCollection implements ICalendarObjectContainer { } public function calendarQuery(array $filters) { - return array_map(function (array $calendarInfo) { - return $this->getRelativeObjectPath($calendarInfo); + return array_map(function (array $calendarObjectInfo) { + return $this->getRelativeObjectPath($calendarObjectInfo); }, $this->caldavBackend->getDeletedCalendarObjectsByPrincipal($this->principalInfo['uri'])); } |