summaryrefslogtreecommitdiffstats
path: root/lib/private/Cache/CappedMemoryCache.php
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2022-04-04 12:56:37 +0200
committerGitHub <noreply@github.com>2022-04-04 12:56:37 +0200
commit135bdb3d5830672214149fa0b75fadd29b20b844 (patch)
treef2c1bc68c733829c90090f71d712f78efbc77083 /lib/private/Cache/CappedMemoryCache.php
parent498d3aea060ed496e2b5351108718e198b021d00 (diff)
parent7d272c54d013538746d6731097ec37f360effb5d (diff)
downloadnextcloud-server-135bdb3d5830672214149fa0b75fadd29b20b844.tar.gz
nextcloud-server-135bdb3d5830672214149fa0b75fadd29b20b844.zip
Merge pull request #30823 from nextcloud/work/profiler
Built-in profiler This adds the required API for collecting information about requests. This information can then be displayed with the new 'profiler' app.
Diffstat (limited to 'lib/private/Cache/CappedMemoryCache.php')
-rw-r--r--lib/private/Cache/CappedMemoryCache.php4
1 files changed, 4 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;
+ }
}