diff options
author | Robin Appelman <robin@icewind.nl> | 2024-09-18 11:13:51 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2024-09-19 13:59:08 +0200 |
commit | 9b07b7d9c1ff4db8094f8db0c661738c505e0310 (patch) | |
tree | 7a3ee7e4f93470d38fee1f9a2f3b01bb54ba01f7 /lib | |
parent | 5bcd74ae87c6e739d3711262345a5881f785e863 (diff) | |
download | nextcloud-server-9b07b7d9c1ff4db8094f8db0c661738c505e0310.tar.gz nextcloud-server-9b07b7d9c1ff4db8094f8db0c661738c505e0310.zip |
fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Files/ObjectStore/ObjectStoreStorage.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/Files/ObjectStore/ObjectStoreStorage.php b/lib/private/Files/ObjectStore/ObjectStoreStorage.php index 93beaaeca6c..1285e7ea177 100644 --- a/lib/private/Files/ObjectStore/ObjectStoreStorage.php +++ b/lib/private/Files/ObjectStore/ObjectStoreStorage.php @@ -600,6 +600,7 @@ class ObjectStoreStorage extends \OC\Files\Storage\Common implements IChunkedFil $sourceCacheEntry = $sourceCache->get($sourceInternalPath); } if ($sourceCacheEntry->getMimeType() === FileInfo::MIMETYPE_FOLDER) { + $this->mkdir($targetInternalPath); foreach ($sourceCache->getFolderContents($sourceInternalPath) as $child) { $this->moveFromStorage($sourceStorage, $child->getPath(), $targetInternalPath . '/' . $child->getName()); } |