Beispiel #1
0
 protected function CheckLock($path)
 {
     $arRequestPath = self::ParsePath($path);
     $path = CDavVirtualFileSystem::GetLockPath($arRequestPath["application"], $arRequestPath["id"]);
     return CDavVirtualFileSystem::CheckLock($path);
 }
Beispiel #2
0
 protected function CheckLock($path)
 {
     /** @var Storage $storage */
     list($storage, $path) = $this->parsePath($path);
     if (!$storage) {
         return false;
     }
     $path = CDavVirtualFileSystem::GetLockPath("WS" . $storage->getId(), $path);
     return CDavVirtualFileSystem::CheckLock($path);
 }