summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorblizzz <blizzz@arthur-schiwon.de>2022-10-04 15:37:56 +0200
committerGitHub <noreply@github.com>2022-10-04 15:37:56 +0200
commit23df9424545880d6259bcd730d62835a43e263d0 (patch)
treea5f43462d87058bfd8670d7182845767789f4ead /apps
parentb57115df3ff0c7ffc23ed5844225df2d21e4ee5b (diff)
parentd084e7656be259f45207ea199e362d857f743510 (diff)
downloadnextcloud-server-23df9424545880d6259bcd730d62835a43e263d0.tar.gz
nextcloud-server-23df9424545880d6259bcd730d62835a43e263d0.zip
Merge pull request #34378 from nextcloud/add-isDeleted-to-icalendar
Add isDeleted to OCP\Calendar\ICalendar
Diffstat (limited to 'apps')
-rw-r--r--apps/dav/lib/CalDAV/CalendarImpl.php7
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
*