Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions apps/dav/lib/CalDAV/CalendarImpl.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,13 @@ public function getPermissions(): int {
return $result;
}

/**
* @since 26.0.0
*/
public function isDeleted(): bool {
return $this->calendar->isDeleted();
}

/**
* Create a new calendar event for this calendar
* by way of an ICS string
Expand Down
6 changes: 6 additions & 0 deletions lib/public/Calendar/ICalendar.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,10 @@ public function search(string $pattern, array $searchProperties = [], array $opt
* @since 13.0.0
*/
public function getPermissions(): int;

/**
* Whether the calendar is deleted
* @since 26.0.0
*/
public function isDeleted(): bool;
}