diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-05-14 09:41:01 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-05-14 09:41:01 +0200 |
commit | bcf38692ae792f8beead5073594cd6758667ec43 (patch) | |
tree | 75fd2082035a837c36655d7145c115c91993c5ff /apps | |
parent | 3e69ed8849a47170a523956646fc31e7be9c2ba7 (diff) | |
download | nextcloud-server-bcf38692ae792f8beead5073594cd6758667ec43.tar.gz nextcloud-server-bcf38692ae792f8beead5073594cd6758667ec43.zip |
Use parent wrapper to properly handle moves on the same source/target storage
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_trashbin/lib/Storage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_trashbin/lib/Storage.php b/apps/files_trashbin/lib/Storage.php index 08dc052fa5c..415f8a183b2 100644 --- a/apps/files_trashbin/lib/Storage.php +++ b/apps/files_trashbin/lib/Storage.php @@ -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(); |