Merge pull request #23659 from owncloud/backport-23654-xcache-availablility

[9.0] xcache.var_size with 64M should evaluate to isAvailable
This commit is contained in:
Thomas Müller 2016-03-31 08:58:18 +02:00
commit 8d6aff69a8
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;
}