Browse Source

Removemount expects absolutePath

remotes/origin/dav-zip-folder
Roeland Jago Douma 11 years ago
parent
commit
3a14cfc295
  1. 2
      lib/private/files/view.php

2
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'));

Loading…
Cancel
Save