Add isDeleted to OCP\Calendar\ICalendartags/v26.0.0beta1
@@ -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; | |||
} |