From 840a49f0d625c84473f00c4aa20f5b6ec0f88487 Mon Sep 17 00:00:00 2001 From: Evert Pot Date: Wed, 5 Nov 2008 15:41:35 +0000 Subject: [PATCH] Throwing a 404 --- lib/Sabre/DAV/Server.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Sabre/DAV/Server.php b/lib/Sabre/DAV/Server.php index 9a2393ca49..f6b9fc43c6 100644 --- a/lib/Sabre/DAV/Server.php +++ b/lib/Sabre/DAV/Server.php @@ -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) {