No need to call database twice
This commit is contained in:
parent
7e5a82b968
commit
bd0aae8636
|
@ -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 New Issue