summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2015-10-16 14:14:00 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2015-10-16 14:14:00 +0200
commit3a14cfc2957b69476da0bc9e513ee6cf6ca0cfb1 (patch)
tree1f0a2efe7c5a0634d62c77b8b2ecbba72a6547e5 /lib
parent7224e99ccd47a0c9320ef9fd7a297b67cbbfd67c (diff)
downloadnextcloud-server-3a14cfc2957b69476da0bc9e513ee6cf6ca0cfb1.tar.gz
nextcloud-server-3a14cfc2957b69476da0bc9e513ee6cf6ca0cfb1.zip
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'));