Use parent wrapper to properly handle moves on the same source/target storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
c6af693dac
commit
553f8aff6b
|
@ -237,7 +237,7 @@ class Storage extends Wrapper {
|
|||
/** @var Storage $sourceStorage */
|
||||
$sourceStorage->disableTrash();
|
||||
}
|
||||
$result = $this->getWrapperStorage()->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
|
||||
$result = parent::moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
|
||||
if ($sourceIsTrashbin) {
|
||||
/** @var Storage $sourceStorage */
|
||||
$sourceStorage->enableTrash();
|
||||
|
|
Loading…
Reference in New Issue