Merge pull request #23654 from owncloud/issue-23653-xcache-detection-fails

xcache.var_size with 64M should evaluate to isAvailable
This commit is contained in:
Thomas Müller 2016-03-30 16:57:02 +02:00
commit 748a59db11
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;
}