Skip to content

Commit 840a49f

Browse files
committed
Throwing a 404
1 parent 888f802 commit 840a49f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Sabre/DAV/Server.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -497,7 +497,8 @@ protected function httpUnlock() {
497497

498498
$locks = $this->tree->getLocks($uri);
499499

500-
// $nodeInfo = $this->tree->getNodeInfo($uri,0);
500+
// We're grabbing the node information, just to rely on the fact it will throw a 404 when the node doesn't exist
501+
$this->tree->getNodeInfo($uri,0);
501502

502503
foreach($locks as $lock) {
503504

0 commit comments

Comments
 (0)