aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Memcache
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-13 18:18:04 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-03-13 18:18:04 +0100
commitdde5353f98668132f2a98312530b70029b07f30e (patch)
tree28b94c184caf91a3af13468768181613775f7dc5 /lib/private/Memcache
parent274106b80bba79103b24d0291822a2e8faa50d20 (diff)
downloadnextcloud-server-dde5353f98668132f2a98312530b70029b07f30e.tar.gz
nextcloud-server-dde5353f98668132f2a98312530b70029b07f30e.zip
Properly provide local memcache check to ICacheFactory
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/private/Memcache')
-rw-r--r--lib/private/Memcache/Factory.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/Memcache/Factory.php b/lib/private/Memcache/Factory.php
index cb2cd8aabe2..8678c1b7999 100644
--- a/lib/private/Memcache/Factory.php
+++ b/lib/private/Memcache/Factory.php
@@ -185,11 +185,11 @@ class Factory implements ICacheFactory {
}
/**
- * check local memcache availability
+ * Check if a local memory cache backend is available
*
* @return bool
*/
- public function isAvailableLowLatency(): bool {
+ public function isLocalCacheAvailable(): bool {
return ($this->localCacheClass !== self::NULL_CACHE);
}
}