From bd598513807bafd84e1b72b7d69b932cb242d423 Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Fri, 24 Jan 2014 08:29:27 +0100 Subject: Fix deleting folder via webdav (Bug 2796) --- lib/Kolab/DAV/Node.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Kolab/DAV/Node.php b/lib/Kolab/DAV/Node.php index 6d48075..b8d3542 100644 --- a/lib/Kolab/DAV/Node.php +++ b/lib/Kolab/DAV/Node.php @@ -105,7 +105,7 @@ class Node implements \Sabre\DAV\INode public function delete() { try { - $this->storage->folder_delete($this->path); + $this->backend->folder_delete($this->path); } catch (Exception $e) { throw new \Sabre\DAV\Exception\Forbidden($e->getMessage()); -- cgit v0.12