No need to call database twice
This commit is contained in:
parent
7e5a82b968
commit
bd0aae8636
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class PublishPlugin extends ServerPlugin
|
|||
|
||||
$propFind->handle('{'.self::NS_CALENDARSERVER.'}publish-url', function () use ($node, $publishUrl) {
|
||||
if ($node->getPublishStatus()) {
|
||||
return new Publisher($publishUrl, $node->getPublishStatus());
|
||||
return new Publisher($publishUrl, true);
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue