aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Files/Cache/Wrapper
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Files/Cache/Wrapper')
-rw-r--r--lib/private/Files/Cache/Wrapper/CacheWrapper.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/private/Files/Cache/Wrapper/CacheWrapper.php b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
index 66ae83fd144..2cd378ad23c 100644
--- a/lib/private/Files/Cache/Wrapper/CacheWrapper.php
+++ b/lib/private/Files/Cache/Wrapper/CacheWrapper.php
@@ -56,6 +56,15 @@ class CacheWrapper extends Cache {
return $this->cache;
}
+ protected function hasEncryptionWrapper(): bool {
+ $cache = $this->getCache();
+ if ($cache instanceof Cache) {
+ return $cache->hasEncryptionWrapper();
+ } else {
+ return false;
+ }
+ }
+
/**
* Make it easy for wrappers to modify every returned cache entry
*