Merge pull request #55761 from nextcloud/backport/55754/stable32

This commit is contained in:
Kate 2025-10-14 21:26:03 +02:00 committed by GitHub
commit 2df2f7f1f2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -53,6 +53,15 @@ class CacheWrapper extends Cache {
}
}
protected function shouldEncrypt(string $targetPath): bool {
$cache = $this->getCache();
if ($cache instanceof Cache) {
return $cache->shouldEncrypt($targetPath);
} else {
return false;
}
}
/**
* Make it easy for wrappers to modify every returned cache entry
*