diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-09-15 17:01:35 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2016-09-26 11:55:43 +0200 |
commit | 17d5dfdeb159bb940a1e3d45479ad2c5f99d8225 (patch) | |
tree | da8093fbb7cfe9098e1e56068d7b724e37185bf4 /apps/dav/lib/CalDAV/Calendar.php | |
parent | 83602225549d1df67403a333ed4a53e8a02d1619 (diff) | |
download | nextcloud-server-17d5dfdeb159bb940a1e3d45479ad2c5f99d8225.tar.gz nextcloud-server-17d5dfdeb159bb940a1e3d45479ad2c5f99d8225.zip |
add in same request
Diffstat (limited to 'apps/dav/lib/CalDAV/Calendar.php')
-rw-r--r-- | apps/dav/lib/CalDAV/Calendar.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/apps/dav/lib/CalDAV/Calendar.php b/apps/dav/lib/CalDAV/Calendar.php index 17cc4780f78..3fbcd87acc0 100644 --- a/apps/dav/lib/CalDAV/Calendar.php +++ b/apps/dav/lib/CalDAV/Calendar.php @@ -261,16 +261,12 @@ class Calendar extends \Sabre\CalDAV\Calendar implements IShareable { } /** - * @return boolean $value + * @return mixed $value */ function getPublishStatus() { return $this->caldavBackend->getPublishStatus($this); } - function getPublishToken() { - return $this->caldavBackend->getPublishToken($this); - } - private function canWrite() { if (isset($this->calendarInfo['{http://owncloud.org/ns}read-only'])) { return !$this->calendarInfo['{http://owncloud.org/ns}read-only']; |