summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-03-30 14:54:56 +0200
committerJoas Schilling <nickvergessen@owncloud.com>2016-03-30 14:54:56 +0200
commitf1c23a92a4db7a13b2673103d61cfab963f2d510 (patch)
tree77be1c55797a3f6d467daa1c440c5a9ab27fbd54
parent0e687993c8afb36876e7d90c229b97b4aaf43b70 (diff)
downloadnextcloud-server-f1c23a92a4db7a13b2673103d61cfab963f2d510.tar.gz
nextcloud-server-f1c23a92a4db7a13b2673103d61cfab963f2d510.zip
xcache.var_size with 64M should evaluate to isAvailable
-rw-r--r--lib/private/memcache/xcache.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/memcache/xcache.php b/lib/private/memcache/xcache.php
index eea55fefc4d..e80901faadc 100644
--- a/lib/private/memcache/xcache.php
+++ b/lib/private/memcache/xcache.php
@@ -125,7 +125,7 @@ class XCache extends Cache implements IMemcache {
// AND administration functions are password-protected.
return false;
}
- $var_size = \OC::$server->getIniWrapper()->getNumeric('xcache.var_size');
+ $var_size = \OC::$server->getIniWrapper()->getBytes('xcache.var_size');
if (!$var_size) {
return false;
}