Skip to content
Snippets Groups Projects
Commit 9ddd5033 authored by Robin Appelman's avatar Robin Appelman
Browse files

Movable mountpoints are always deletable

parent 532ba99f
No related branches found
No related tags found
No related merge requests found
......@@ -280,6 +280,11 @@ class View {
}
public function isDeletable($path) {
$absolutePath = $this->getAbsolutePath($path);
$mount = Filesystem::getMountManager()->find($absolutePath);
if ($mount->getInternalPath($absolutePath) === '') {
return $mount instanceof MoveableMount;
}
return $this->basicOperation('isDeletable', $path);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment