add can-be-published property
This commit is contained in:
parent
a4fe596a21
commit
f16ea48e96
|
@ -108,6 +108,10 @@ class PublishPlugin extends ServerPlugin {
|
||||||
// The pre-publish-url is always returned
|
// The pre-publish-url is always returned
|
||||||
return new Publisher($publishUrl, false);
|
return new Publisher($publishUrl, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$propFind->handle('{'.self::NS_CALENDARSERVER.'}can-be-published', function() use ($node) {
|
||||||
|
return !$node->getPublishStatus();
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue