From 3a14cfc2957b69476da0bc9e513ee6cf6ca0cfb1 Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Fri, 16 Oct 2015 14:14:00 +0200 Subject: [PATCH] Removemount expects absolutePath --- lib/private/files/view.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/files/view.php b/lib/private/files/view.php index 1353fac51f..04932d6938 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'));