xcache.var_size with 64M should evaluate to isAvailable

This commit is contained in:
Joas Schilling 2016-03-30 14:54:56 +02:00
parent 0e687993c8
commit f1c23a92a4
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}