Removemount expects absolutePath

This commit is contained in:
Roeland Jago Douma 2015-10-16 14:14:00 +02:00
parent 7224e99ccd
commit 3a14cfc295
1 changed files with 1 additions and 1 deletions

View File

@ -290,7 +290,7 @@ class View {
$absolutePath = $this->getAbsolutePath($path); $absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath); $mount = Filesystem::getMountManager()->find($absolutePath);
if ($mount->getInternalPath($absolutePath) === '') { if ($mount->getInternalPath($absolutePath) === '') {
return $this->removeMount($mount, $path); return $this->removeMount($mount, $absolutePath);
} }
if ($this->is_dir($path)) { if ($this->is_dir($path)) {
return $this->basicOperation('rmdir', $path, array('delete')); return $this->basicOperation('rmdir', $path, array('delete'));