summaryrefslogtreecommitdiffstats
path: root/lib/private/Files
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2017-07-19 12:30:59 +0200
committerMorris Jobke <hey@morrisjobke.de>2017-07-21 14:06:13 +0200
commit06a4d6b5b9f82954c818de8d26b2a337d0f049e7 (patch)
tree896273dcd315caf1541f75ad50ea261720d17ad1 /lib/private/Files
parenta33b6cdd21868abf026375503a4eb5a36684c8eb (diff)
downloadnextcloud-server-06a4d6b5b9f82954c818de8d26b2a337d0f049e7.tar.gz
nextcloud-server-06a4d6b5b9f82954c818de8d26b2a337d0f049e7.zip
Also repair storage id's when repairing invalid entries
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/Files')
-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 b2f379fe2c2..4532c0d4810 100644
--- a/lib/private/Files/Cache/Cache.php
+++ b/lib/private/Files/Cache/Cache.php
@@ -332,7 +332,7 @@ class Cache implements ICache {
protected function buildParts(array $data) {
$fields = array(
'path', 'parent', 'name', 'mimetype', 'size', 'mtime', 'storage_mtime', 'encrypted',
- 'etag', 'permissions', 'checksum');
+ 'etag', 'permissions', 'checksum', 'storage');
$doNotCopyStorageMTime = false;
if (array_key_exists('mtime', $data) && $data['mtime'] === null) {