Beispiel #1
0
 protected function UNLOCK($httpLocktoken)
 {
     $arRequestPath = self::ParsePath($this->request->GetPath());
     $path = CDavVirtualFileSystem::GetLockPath($arRequestPath["application"], $arRequestPath["id"]);
     return CDavVirtualFileSystem::Unlock($path, $httpLocktoken) ? '204 No Content' : '409 Conflict';
 }
Beispiel #2
0
 protected function UNLOCK($httpLocktoken)
 {
     /** @var CDavRequest $request */
     $request = $this->request;
     $arRequestPath = self::ParsePath($request->GetPath());
     if (!$arRequestPath[0]) {
         return '409 Conflict';
     }
     $path = CDavVirtualFileSystem::GetLockPath("WS" . $arRequestPath[0]->getId(), $arRequestPath[1]);
     return CDavVirtualFileSystem::Unlock($path, $httpLocktoken) ? '204 No Content' : '409 Conflict';
 }