summaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Cache.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2024-09-09 16:59:59 +0200
committerRobin Appelman <robin@icewind.nl>2024-09-16 12:19:20 +0200
commit914e8f9ce231c2d6604468beee75a816b3c24d56 (patch)
tree585ee791b3b5828a3aa1208957322b9b8cb8ccc4 /lib/private/Files/Cache/Cache.php
parent32866bc7eefbc33722cbbee7a2550f2ac868da7b (diff)
downloadnextcloud-server-914e8f9ce231c2d6604468beee75a816b3c24d56.tar.gz
nextcloud-server-914e8f9ce231c2d6604468beee75a816b3c24d56.zip
fix: misc code fixes around db shardingbackport/47852/stable30
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files/Cache/Cache.php')
-rw-r--r--lib/private/Files/Cache/Cache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Files/Cache/Cache.php b/lib/private/Files/Cache/Cache.php
index 876f17ff740..8ab07981694 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -1207,7 +1207,7 @@ class Cache implements ICache {
}
}
- private function moveFromStorageSharded(ShardDefinition $shardDefinition, ICache $sourceCache, ICacheEntry $sourceEntry, $targetPath) {
+ private function moveFromStorageSharded(ShardDefinition $shardDefinition, ICache $sourceCache, ICacheEntry $sourceEntry, $targetPath): void {
if ($sourceEntry->getMimeType() === ICacheEntry::DIRECTORY_MIMETYPE) {
$fileIds = $this->getChildIds($sourceCache->getNumericStorageId(), $sourceEntry->getPath());
} else {