summaryrefslogtreecommitdiffstats
path: root/lib/private/memcache/factory.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/memcache/factory.php')
-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 6e9aaa11d85..5e3d857006c 100644
--- a/lib/private/memcache/factory.php
+++ b/lib/private/memcache/factory.php
@@ -29,7 +29,7 @@ namespace OC\Memcache;
use \OCP\ICacheFactory;
class Factory implements ICacheFactory {
- const NULL_CACHE = '\\OC\\Memcache\\Null';
+ const NULL_CACHE = '\\OC\\Memcache\\NullCache';
/**
* @var string $globalPrefix
@@ -70,7 +70,7 @@ class Factory implements ICacheFactory {
}
if (!($lockingCacheClass && $lockingCacheClass::isAvailable())) {
// dont fallback since the fallback might not be suitable for storing lock
- $lockingCacheClass = '\OC\Memcache\Null';
+ $lockingCacheClass = '\OC\Memcache\NullCache';
}
$this->localCacheClass = $localCacheClass;
$this->distributedCacheClass = $distributedCacheClass;