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/Publishing | |
parent | 83602225549d1df67403a333ed4a53e8a02d1619 (diff) | |
download | nextcloud-server-17d5dfdeb159bb940a1e3d45479ad2c5f99d8225.tar.gz nextcloud-server-17d5dfdeb159bb940a1e3d45479ad2c5f99d8225.zip |
add in same request
Diffstat (limited to 'apps/dav/lib/CalDAV/Publishing')
-rw-r--r-- | apps/dav/lib/CalDAV/Publishing/PublishPlugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php index aaa2868a86d..241e5260c70 100644 --- a/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php +++ b/apps/dav/lib/CalDAV/Publishing/PublishPlugin.php @@ -97,7 +97,7 @@ class PublishPlugin extends ServerPlugin { $propFind->handle('{'.self::NS_CALENDARSERVER.'}publish-url', function () use ($node) { if ($node->getPublishStatus()) { // We return the publish-url only if the calendar is published. - $token = $node->getPublishToken(); + $token = $node->getPublishStatus(); $publishUrl = $this->urlGenerator->getAbsoluteURL($this->server->getBaseUri().'public-calendars/').$token; return new Publisher($publishUrl, true); |