Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@users.noreply.github.com>2021-05-18 11:20:20 +0300
committerGitHub <noreply@github.com>2021-05-18 11:20:20 +0300
commit9e1c367e861da248ec26d6f8c9a521ba62df0c39 (patch)
tree01df6c61225c8decf9c71b4bbe314198bb99dde5
parent35b910cf8e685fee96b81a1b8f4f14556311e605 (diff)
parentbcf38692ae792f8beead5073594cd6758667ec43 (diff)
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.php2
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();