aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/memcache/factory.php
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2015-01-12 13:48:07 +0100
committerJoas Schilling <nickvergessen@gmx.de>2015-02-16 14:55:50 +0100
commit8848b5f067f9b81f68508d2d739f0f951575e5e3 (patch)
treec055fa543378c999dd2f1f7496e784d258b6b293 /lib/private/memcache/factory.php
parent0d8b3afc32f15b1582bbf555796b9d112a91a4ef (diff)
downloadnextcloud-server-8848b5f067f9b81f68508d2d739f0f951575e5e3.tar.gz
nextcloud-server-8848b5f067f9b81f68508d2d739f0f951575e5e3.zip
Add an array implementation of cache and use it if we are not debugging
Diffstat (limited to 'lib/private/memcache/factory.php')
-rw-r--r--lib/private/memcache/factory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/memcache/factory.php b/lib/private/memcache/factory.php
index 1e663eecfe1..e8a91c52269 100644
--- a/lib/private/memcache/factory.php
+++ b/lib/private/memcache/factory.php
@@ -42,7 +42,7 @@ class Factory implements ICacheFactory {
} elseif (Memcached::isAvailable()) {
return new Memcached($prefix);
} else {
- return new Null($prefix);
+ return new ArrayCache($prefix);
}
}