mirror of https://github.com/nextcloud/server
Add isDeleted property to OCP\Calendar\ICalendar
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f888f99b0a
commit
d084e7656b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue