summaryrefslogtreecommitdiffstats
path: root/lib/files/cache
diff options
context:
space:
mode:
Diffstat (limited to 'lib/files/cache')
-rw-r--r--lib/files/cache/scanner.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/files/cache/scanner.php b/lib/files/cache/scanner.php
index d296c606865..3f1970fb4a2 100644
--- a/lib/files/cache/scanner.php
+++ b/lib/files/cache/scanner.php
@@ -121,9 +121,7 @@ class Scanner extends BasicEmitter {
}
$parentCacheData = $this->cache->get($parent);
$parentCacheData['etag'] = $this->storage->getETag($parent);
- // the boolean to int conversion is necessary to make pg happy
- $parentCacheData['encrypted'] = $parentCacheData['encrypted'] ? 1 : 0;
- $this->cache->put($parent, $parentCacheData);
+ $this->cache->update($parentCacheData['fileid'], $parentCacheData);
}
}
}