diff options
author | Roeland Jago Douma <rullzer@users.noreply.github.com> | 2021-05-18 10:20:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-18 10:20:20 +0200 |
commit | 9e1c367e861da248ec26d6f8c9a521ba62df0c39 (patch) | |
tree | 01df6c61225c8decf9c71b4bbe314198bb99dde5 | |
parent | 35b910cf8e685fee96b81a1b8f4f14556311e605 (diff) | |
parent | bcf38692ae792f8beead5073594cd6758667ec43 (diff) | |
download | nextcloud-server-9e1c367e861da248ec26d6f8c9a521ba62df0c39.tar.gz nextcloud-server-9e1c367e861da248ec26d6f8c9a521ba62df0c39.zip |
Merge pull request #26980 from nextcloud/bugfix/noid/partfile-move-storage
Use parent wrapper to properly handle moves on the same source/target storage
-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(); |