Skip to content

Commit a18a3fe

Browse files
authored
Merge pull request #27015 from nextcloud/backport/26980-stable21
[stable21] Use parent wrapper to properly handle moves on the same source/target storage
2 parents 4136993 + 553f8af commit a18a3fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/files_trashbin/lib/Storage.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ public function moveFromStorage(IStorage $sourceStorage, $sourceInternalPath, $t
237237
/** @var Storage $sourceStorage */
238238
$sourceStorage->disableTrash();
239239
}
240-
$result = $this->getWrapperStorage()->moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
240+
$result = parent::moveFromStorage($sourceStorage, $sourceInternalPath, $targetInternalPath);
241241
if ($sourceIsTrashbin) {
242242
/** @var Storage $sourceStorage */
243243
$sourceStorage->enableTrash();

0 commit comments

Comments
 (0)