Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoricewind1991 <robin@icewind.nl>2014-06-06 13:57:43 +0400
committericewind1991 <robin@icewind.nl>2014-06-06 13:57:43 +0400
commitc47d4ebbac7885ad91cf56355bd6aa09318ff8e8 (patch)
tree22a78530feb3c582cf5624b4089bd79c8e9b2afd /lib/private/connector
parent0661d737e6f529b7d921ada441453f2b314c3445 (diff)
parent46f70aabfd399e1bc5517b2192ac2489189f9d94 (diff)
Merge pull request #8666 from owncloud/mount-remove
Support for (re)moving mountpoints
Diffstat (limited to 'lib/private/connector')
-rw-r--r--lib/private/connector/sabre/objecttree.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/connector/sabre/objecttree.php b/lib/private/connector/sabre/objecttree.php
index a3de2efaa50..c55a392bca0 100644
--- a/lib/private/connector/sabre/objecttree.php
+++ b/lib/private/connector/sabre/objecttree.php
@@ -126,10 +126,6 @@ class ObjectTree extends \Sabre\DAV\ObjectTree {
throw new \Sabre\DAV\Exception\Forbidden();
}
if ($sourceDir !== $destinationDir) {
- // for a full move we need update privileges on sourcePath and sourceDir as well as destinationDir
- if (ltrim($destinationDir, '/') === '') {
- throw new \Sabre\DAV\Exception\Forbidden();
- }
if (!$this->fileView->isUpdatable($sourceDir)) {
throw new \Sabre\DAV\Exception\Forbidden();
}