Merge pull request #43131 from nextcloud/fix/files/cache-wrapper-no-partial-cache-entry-formatting

fix(files): Don't attempt to format a partial cache entry
pull/43369/head
Christoph Wurst 4 months ago committed by GitHub
commit 67a3ab48b5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -91,7 +91,7 @@ class CacheWrapper extends Cache {
*/
public function get($file) {
$result = $this->getCache()->get($file);
if ($result) {
if ($result instanceof ICacheEntry) {
$result = $this->formatCacheEntry($result);
}
return $result;

Loading…
Cancel
Save