Skip to content

Commit

Permalink
Throwing a 404
Browse files Browse the repository at this point in the history
  • Loading branch information
evert committed Nov 5, 2008
1 parent 888f802 commit 840a49f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Sabre/DAV/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,8 @@ protected function httpUnlock() {

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

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

foreach($locks as $lock) {

Expand Down

0 comments on commit 840a49f

Please sign in to comment.