Browse Source
Merge pull request #34378 from nextcloud/add-isDeleted-to-icalendar
Add isDeleted to OCP\Calendar\ICalendar
tags/v26.0.0beta1
blizzz
1 year ago
No account linked to committer's email address
|
|
@@ -130,6 +130,13 @@ class CalendarImpl implements ICreateFromString { |
|
|
|
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 |
|
|
@@ -75,4 +75,10 @@ interface ICalendar { |
|
|
|
* @since 13.0.0 |
|
|
|
*/ |
|
|
|
public function getPermissions(): int; |
|
|
|
|
|
|
|
/** |
|
|
|
* Whether the calendar is deleted |
|
|
|
* @since 26.0.0 |
|
|
|
*/ |
|
|
|
public function isDeleted(): bool; |
|
|
|
} |