mirror of
https://github.com/nextcloud/server.git
synced 2026-03-29 22:03:27 -04:00
Merge pull request #55761 from nextcloud/backport/55754/stable32
This commit is contained in:
commit
2df2f7f1f2
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in a new issue