summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2015-10-19 16:22:42 +0200
committerRobin Appelman <robin@icewind.nl>2015-10-19 16:22:42 +0200
commit9c5337ca3eb2bc48599c54ce4699def00a912e3e (patch)
tree9b92cdc357bd0cfe5c3570b2510010966b07a8f4 /lib
parent3d4e0ba4e7d6e4b3e9aaf943e3d74d1a5ee9acd2 (diff)
parentd8798877df603a9f095fcf7474ebf7dbb82b2245 (diff)
downloadnextcloud-server-9c5337ca3eb2bc48599c54ce4699def00a912e3e.tar.gz
nextcloud-server-9c5337ca3eb2bc48599c54ce4699def00a912e3e.zip
Merge pull request #19833 from owncloud/fix_view_rmdir
Removemount expects absolutePath
Diffstat (limited to 'lib')
-rw-r--r--lib/private/files/view.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/files/view.php b/lib/private/files/view.php
index 1353fac51ff..04932d69384 100644
--- a/lib/private/files/view.php
+++ b/lib/private/files/view.php
@@ -290,7 +290,7 @@ class View {
$absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath);
if ($mount->getInternalPath($absolutePath) === '') {
- return $this->removeMount($mount, $path);
+ return $this->removeMount($mount, $absolutePath);
}
if ($this->is_dir($path)) {
return $this->basicOperation('rmdir', $path, array('delete'));