diff options
author | icewind1991 <robin@icewind.nl> | 2014-06-06 11:57:43 +0200 |
---|---|---|
committer | icewind1991 <robin@icewind.nl> | 2014-06-06 11:57:43 +0200 |
commit | c47d4ebbac7885ad91cf56355bd6aa09318ff8e8 (patch) | |
tree | 22a78530feb3c582cf5624b4089bd79c8e9b2afd /lib/private/connector | |
parent | 0661d737e6f529b7d921ada441453f2b314c3445 (diff) | |
parent | 46f70aabfd399e1bc5517b2192ac2489189f9d94 (diff) | |
download | nextcloud-server-c47d4ebbac7885ad91cf56355bd6aa09318ff8e8.tar.gz nextcloud-server-c47d4ebbac7885ad91cf56355bd6aa09318ff8e8.zip |
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.php | 4 |
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(); } |