diff options
author | Thomas Citharel <tcit@tcit.fr> | 2022-10-02 12:39:30 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2022-10-03 18:56:02 +0200 |
commit | d084e7656be259f45207ea199e362d857f743510 (patch) | |
tree | ffa7f3d4e68f52e4cb78bd889e072c7a126bfbf7 /apps/dav/lib | |
parent | f888f99b0a4f599ea403cdf337935093c5420586 (diff) | |
download | nextcloud-server-d084e7656be259f45207ea199e362d857f743510.tar.gz nextcloud-server-d084e7656be259f45207ea199e362d857f743510.zip |
Add isDeleted property to OCP\Calendar\ICalendar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'apps/dav/lib')
-rw-r--r-- | apps/dav/lib/CalDAV/CalendarImpl.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/dav/lib/CalDAV/CalendarImpl.php b/apps/dav/lib/CalDAV/CalendarImpl.php index 4eef1e7f8d3..53cde5a7b75 100644 --- a/apps/dav/lib/CalDAV/CalendarImpl.php +++ b/apps/dav/lib/CalDAV/CalendarImpl.php @@ -131,6 +131,13 @@ class CalendarImpl implements ICreateFromString { } /** + * @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 * |