propfind.feature: Used sharingNG for sharing in given step

This commit is contained in:
Prarup Gurung
2024-05-20 15:49:50 +05:45
parent f98304cac6
commit 8717959540
3 changed files with 19 additions and 14 deletions
@@ -1871,7 +1871,7 @@ class PublicWebDavContext implements Context {
} else {
$body = null;
}
$token = $this->featureContext->getLastCreatedPublicShareToken();
$token = ($this->featureContext->isUsingSharingNG()) ? $this->featureContext->shareNgGetLastCreatedLinkShareToken() : $this->featureContext->getLastCreatedPublicShareToken();
$davPath = WebDavHelper::getDavPath(
null,
null,