aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Cache
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Cache')
-rw-r--r--lib/private/Cache/CappedMemoryCache.php4
-rw-r--r--lib/private/Cache/File.php4
2 files changed, 8 insertions, 0 deletions
diff --git a/lib/private/Cache/CappedMemoryCache.php b/lib/private/Cache/CappedMemoryCache.php
index 9260bf1f6b3..0a3300435eb 100644
--- a/lib/private/Cache/CappedMemoryCache.php
+++ b/lib/private/Cache/CappedMemoryCache.php
@@ -115,4 +115,8 @@ class CappedMemoryCache implements ICache, \ArrayAccess {
$this->remove($key);
}
}
+
+ public static function isAvailable(): bool {
+ return true;
+ }
}
diff --git a/lib/private/Cache/File.php b/lib/private/Cache/File.php
index 0ecd894d2d2..a96a7cd9c0b 100644
--- a/lib/private/Cache/File.php
+++ b/lib/private/Cache/File.php
@@ -203,4 +203,8 @@ class File implements ICache {
}
}
}
+
+ public static function isAvailable(): bool {
+ return true;
+ }
}