Make sure we delete the file when doing a cross storage trashbin move
This commit is contained in:
parent
d4c4e2a322
commit
215388f4e0
|
@ -85,6 +85,8 @@ class Storage extends Wrapper {
|
|||
$result = $this->storage->unlink($path);
|
||||
}
|
||||
unset($this->deletedFiles[$normalized]);
|
||||
} else if ($this->storage->file_exists($path)) {
|
||||
$result = $this->storage->unlink($path);
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
|
Loading…
Reference in New Issue