Movable mountpoints are always deletable
This commit is contained in:
parent
532ba99f1c
commit
9ddd5033d4
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue