浏览代码

Merge pull request #34378 from nextcloud/add-isDeleted-to-icalendar

Add isDeleted to OCP\Calendar\ICalendar
tags/v26.0.0beta1
blizzz 1年前
父节点
当前提交
23df942454
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 7
    0
      apps/dav/lib/CalDAV/CalendarImpl.php
  2. 6
    0
      lib/public/Calendar/ICalendar.php

+ 7
- 0
apps/dav/lib/CalDAV/CalendarImpl.php 查看文件

@@ -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

+ 6
- 0
lib/public/Calendar/ICalendar.php 查看文件

@@ -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;
}

正在加载...
取消
保存